Vidyalelo
Java Programming · Q10

Inheritence

Programming · Java Programming · question 10

Q10

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
Answer
C.
Both are used for interface implementation
D.
None of These

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board