Q. Which of the following is a marker interface in Java?
Solution:
A marker interface like Serializable has no methods and is used to provide metadata to the JVM.
Get Question Bank
Strengthen Your Practice with our comprehensive question bank.
A marker interface like Serializable has no methods and is used to provide metadata to the JVM.
Strengthen Your Practice with our comprehensive question bank.