Multiple choice

Which of the following is not a true statement about abstract class in Java?

  1. Abstract class cannot be instantiated.

  2. Abstract class has both abstract and concrete methods.

  3. An abstract class has any public, private or protected members.

  4. A Java class can extend only one abstract class.

  5. A static method can be abstract in the abstract class.

Reveal answer Fill a bubble to check yourself
E Correct answer
Explanation

No, a static method cannot be overridden by subclasses, so a static method cannot be abstract.