Which of the following is correct way of implementing an interface salary by class manager?
A. class manager extends salary {}
B. class manager implements salary {}
C. class manager imports salary {}
D. None of the mentioned.
Answer:A
Which of the following is correct way of implementing an interface salary by class manager?
A. class manager extends salary {} B. class manager implements salary {} C. class manager imports salary {} D. None of the mentioned.
Explanation: None.