5 years ago in Java Package And Interface

Which of these keywords is used by a class to use an interface defined previously?

[A] import
[B] Import
[C] implements
[D] Implements
Loading...
Next Question

Overall Stats

Attempted 236
Correct 119
Incorrect 36
Viewed 81

Answers

Guest
Guest
Mallinatha BJ - 9 months ago

Answer is implements

Shamsa hafeez
Shamsa hafeez - 1 week ago

Shamsa hafeez from Lahore, Pakistan is saying implements is correct answer

Vaibhav Bisht
Vaibhav Bisht - 1 month ago

Vaibhav Bisht from Dehradun, India is saying import is correct answer

Assaad Amine
Assaad Amine - 1 month ago

Assaad Amine from Casablanca, Morocco is saying implements is correct answer

Zo Go
Zo Go - 1 month ago

Zo Go from Casablanca, Morocco is saying import is correct answer

Related Questions

Which of the following is incorrect statement about packages?

  • [A] Interfaces specifies what class must do but not how it does.
  • [B] Interfaces are specified public if they are to be accessed by any code in the program.
  • [C] All variables in interface are implicitly final and static.
  • [D] All variables are static and methods are public if interface is defined pubic

Which of these interface handle sequences?

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

Which of these can be used to fully abstract a class from its implementation?

  • [A] Objects
  • [B] Packages
  • [C] Interfaces
  • [D] None of the Mentioned.

Which of these can be used to fully abstract a class from its implementation?

  • [A] Objects
  • [B] Packages
  • [C] Interfaces
  • [D] None of the Mentioned.

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.