Question:

In Java, when we implement an interface method, it must be declared as ________.
 

Show Hint

Interface methods in Java are always public, even if not explicitly declared, and they must be implemented as public in the class.
Updated On: Jun 16, 2025
  • private
  • protected
  • public
  • friend
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is C

Solution and Explanation

In Java, when implementing an interface method, it must be declared as public, as all methods in interfaces are implicitly public. This allows the methods to be accessible from outside the implementing class.
Was this answer helpful?
0
0