What happens if an abstract class does not have any abstract methods?

Last Updated :
Discuss
Comments

What happens if an abstract class does not have any abstract methods?

It will not compile.

The class can still be abstract.

Java will automatically provide an abstract method.

It becomes a concrete class.

Share your thoughts in the comments