Java Quiz 28: Can an interface inherit from a class in Java?
In Java, an interface cannot inherit from a class. However, it can extend other interfaces. Java uses interfaces to define a contract for classes to implement, and they cannot inherit concrete implementation from a class. Want to test your understanding of interfaces and inheritance in Java? Take this quiz and sharpen your knowledge!
Complete Java Quiz (MCQ Questions and Answers) Playlist: • Java Quiz (MCQ Questions and Answers) .
More Java MCQ questions and answers: https://www.javaguides.net/p/java-dai....
#java #quiz #javaquiz #javamcq #codingtips