Which of these keywords is used to define interfaces in Java?
Java MCQ: Which of these keywords is used to define interfaces in Java? a) interface b) intf c) implement d) None of the above Answer: a) interface Explanation: The interface keyword in Java is used to define an interface, which is a reference type that can contain only abstract methods, static methods, default methods, and […]
Which of these keywords is used to define interfaces in Java? Read More »