56. Which of the following is the correct way of implementing an interface salary by class manager?
(A) class manager extends salary 0
(B) class manager implements salary {}
(C) class manager imports salary
(D) none of the mentioned
Answers
Answered by
6
Answer:
B) class manager implements salary {}
Answered by
0
The correct option is B) class manager implements salary {}.
The correct way of implementing an interface salary by class manager is class manager implements salary {} because a concrete class implements an interface. They can be instantiated.
#SPJ3
Similar questions