DEVFYI - Developer Resource - FYI

What is a marker interface ?

Java Interview Questions and Answers (part 3)

(Continued from previous question...)

410. What is a marker interface ?

An interface that contains no methods. Eg: Serializable, Cloneable, SingleThreadModel etc. It is used to just mark java classes that support certain capability.

(Continued on next question...)

Other Interview Questions