Which of the following is the correct way of implementing an interface A by class B?
Posted: Wed Jul 13, 2022 7:50 pm
a) class B extends A{}
b) class B implements A{}
c) class B imports A{}
d) None of the mentioned
b) class B implements A{}
c) class B imports A{}
d) None of the mentioned