What is Abstract class and Anonymous class in java…?

Abstract and Anonymous class:- Abstract class:- If the class name is declared as an abstract keyword it is known as abstract class. An abstract class may or may not contain an abstract method. Abstract class and anonymous class almost equivalent to using a named inner class. If the class is abstract it cannot be instantiated(we […]