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

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{}
C. class B imports A{}
D. None of the mentioned
 

Tìm kiếm

Back
Top