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

1 thought on “Which of the following is the correct way of implementing an interface A by class B?”

Leave a Comment