is there a time you would ever need an abstract class without any abstract methods

Viewed 119

I am playing around with abstract methods and classes...is there a time you would ever need something like this instead of just creating a concrete class ?

public abstract class AbstractClass{

    public String nonAbstractMethodOne(String param1,String param2){
        String param = param1 + param2;
        return param;
    }

    public static void nonAbstractMethodTwo(String param){
        System.out.println("Value of param is "+param);
    }
}
3 Answers
Related