Which among the following best describes abstract classes?

Which among the following best describes abstract classes? Correct Answer If a class has at least one pure virtual function, it’s abstract class

The condition for a class to be called abstract class is that it must have at least one pure virtual function. The keyword abstract must be used while defining abstract class in java.

Related Questions

public abstract class Shape { private int x; private int y; public abstract void draw(); public void setAnchor(int x, int y) { this.x = x; this.y = y; } } Which two classes use the Shape class correctly?