1.

Differentiate between the keywords extends and implements.

Answer»
Extendsimplements
1. Extends keyword s used to implement the concept of inheritance.1. implements keywords is used for implementing interface by a class
2. Exends is used when creating a sub-class2.Implements are used when implementing an interface.



Discussion

No Comment Found

Related InterviewSolutions