When does the compiler insist that the class must be abstract?
In following conditions,compiler insists 'abstract' keyword with a class :
- If one or more methods of the class are abstract.
- If class inherits one or more abstract methods from the parent abstract class and no implementation is provided for that method
- If class implements an interface and provides no implementation for those methods