Abstraction:
1)It is a keyword
2)We use it when a method() is incomplete
incomplete-method is defined and it has no definition
4)It allows the non-abstract method
5)It can have a multiple incomplete method,and object can't be created inside a class
6)It allows the constructor and called by child class object
7)It allows to create instance variable,and the values can be assigned in child class
final:
1)In a class,it is to finilize the variable,method,class
final class-it can't be extended
final variable-the values can't changed in a class
final-method-the method can't be overide
Top comments (0)