Inheritance Syntax - Core Java
Q. The following Syntax is used for?
class Subclass-name extends Superclass-name
{
//methods and fields
} - Published on 19 Oct 15a. Polymorphism
b. Encapsulation
c. Inheritance
d. None of the above
ANSWER: Inheritance