Java Quiz 24 - An interface with no methods is known as ?

Published: 04 September 2024
on channel: Java Guides
1,109
69

Java Quiz 24: An interface with no methods is known as?
In Java, an interface with no methods is known as a marker interface. Marker interfaces, like Serializable and Cloneable, are used to indicate a specific property or capability of a class. Even though they do not define any methods, they provide metadata that can be recognized at runtime to perform special processing. Want to learn more about marker interfaces and their usage? Take this quiz to test your knowledge!

Complete Java Quiz (MCQ Questions and Answers) Playlist:    • Java Quiz (Top 100 Java MCQ Questions...  .

More Java MCQ questions and answers: https://www.javaguides.net/p/java-dai....

#java #quiz #javaquiz #javamcq #codingtips