Vidyalelo
Java Programming · Q156

Interfaces and Abstract Classes

Programming · Java Programming · question 156

Q156

Which of the following is the correct way of implementing an interface A by class B?

A.
class B extends A{}
B.
class B implements A{}
Answer
C.
class B imports A{}
D.
None of the mentioned

Answer: Option B

Solution

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