Home / Report Question

Q. Which of the following are true about interfaces.
  • A. Methods declared in interfaces are implicitly private.
  • B. Variables declared in interfaces are implicitly public, static, and final.
  • C. An interface contains any number of method definitions.
  • D. The keyword implements indicate that an interface inherits from another.

Correct Answer: B