Abstract Class
- An abstract class is a class that contains one or more abstract methods
- An abstract class cannot instantiated
- Another class (Concrete class) has to provide implementation of abstract methods
- Concrete class has to implement all abstract methods of the abstract class in order to be used for instantiation
- Concrete class uses extends keyword
Syntax: abstract class one
{
abstract type method1();
..............
..............
type method2()
{}
}