Can there be abstract class with no abstract methods

Can there be abstract class with no abstract methods

Answer: Yes it may or may not include abstract methods.Please see example class below:

public abstract class AbstractClassTest {

}

abstract class AnotherAbstract {

    abstract void testMethod();
}

Leave a Reply

Your email address will not be published. Required fields are marked *

I am not Robot *