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

preview_player
Показать описание
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!

#java #quiz #javaquiz #javamcq #codingtips
Рекомендации по теме
Комментарии
Автор

Marker interface becose marker interface only body but doesn't have any method

kathrivinay