2 votes 2 votes In Java, when we implement an interface method, it must be declared as Private Protected Public Friend Object Oriented Programming ugcnetcse-june2015-paper3 object-oriented-programming java + – go_editor asked Aug 1, 2016 • recategorized Nov 24, 2017 by Arjun go_editor 4.3k views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes Answer must be C public because An interface is a reference type in Java, it is similar to class, it is a collection of abstract methods. A class implements an interface, thereby inheriting the abstract methods of the interface. Interfaces are meant to define the public API of a type - and only that, not its implementation. An interface is implicitly abstract. You do not need to use the abstract keyword while declaring an interface. Each method in an interface is also implicitly abstract, so the abstract keyword is not needed. So any method (or static member) you define in an interface is by definition public. sh!va answered Aug 1, 2016 sh!va comment Share Follow See all 0 reply Please log in or register to add a comment.