6 years ago in Java Package And Interface

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.
Loading...
Next Question

Overall Stats

Attempted 485
Correct 194
Incorrect 67
Viewed 224

Answers

Guest
Guest
Satyam Pratap singh - 1 year ago

hemant singh you are not from delhi.

Mina Aitlhaj
Mina Aitlhaj - 2 days ago

Mina Aitlhaj from Casablanca, Morocco is saying class manager implements salary {} is correct answer

4NM18EC206 PRAJWAL PREMANAND SHETTIGAR
4NM18EC206 PRAJWAL PREMANAND SHETTIGAR - 1 week ago

4NM18EC206 PRAJWAL PREMANAND SHETTIGAR is saying class manager implements salary {} is correct answer

Bharath
Bharath - 2 months ago

Bharath from Hyderabad, India is saying class manager implements salary {} is correct answer

Aryaman Upadhyay
Aryaman Upadhyay - 3 months ago

Aryaman Upadhyay is saying class manager extends salary {} is correct answer

Related Questions

What is the meaning of JIT ?

  • [A] java in time
  • [B] just in time
  • [C] join in time
  • [D] none of above

Which of these interface handle sequences?

  • [A] Set
  • [B] List
  • [C] Comparator
  • [D] Collection

Interfaces helps in which type of inheritance ?

  • [A] Multiple inheritance
  • [B] Multilevel inheritance
  • [C] Hierarchical inheritance
  • [D] None of above

Which keyword is used while using interface ?

  • [A] extend
  • [B] implements
  • [C] throw
  • [D] throws