UGC-NET | UGC NET CS 2015 Jun – III | Question 37
In Java, when we implement an interface method, it must be declared as:
(A) Private
(B) Protected
(C) Public
(D) Friend
Answer: (C)
Explanation: In Java, when we implement an interface method, it must be declared as Public.
For more information on Java interface Refer:Interfaces in Java
option (C) is correct.
Quiz of this Question
Last Updated :
18 Jun, 2018
Like Article
Save Article
Share your thoughts in the comments
Please Login to comment...