1.

What Is Extends ?

Answer»

Class X extends class Y to add FUNCTIONALITY, EITHER by ADDING FIELDS or methods to class Y, or by overriding methods of class Y. An interface extends ANOTHER interface by adding methods. Class X is said to be a subclass of class Y. See also derived from.

Class X extends class Y to add functionality, either by adding fields or methods to class Y, or by overriding methods of class Y. An interface extends another interface by adding methods. Class X is said to be a subclass of class Y. See also derived from.



Discussion

No Comment Found