What is the difference between "extends" and "implements" in Java?

A. Both are used for class inheritance

B. "Extends" is used for class inheritance, while "implements" is used for interface implementation

C. Both are used for interface implementation

D. Both are used for class inheritance

Answer: Option B

This Question Belongs to Java Program >> Inheritence

Join The Discussion

Related Questions on Inheritence

What is inheritance in Java?

A. The process of acquiring properties and behaviors of one class by another

B. The process of creating objects

C. The process of encapsulation

D. The process of overloading methods