Multiple choice technology web technology

Select a marker interface below

  1. a.java.lang.Cloneable

  2. b.java.util.Collection

  3. c. java.io.Reader

  4. d. java.lang.Runnable

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Cloneable is a marker interface - it has no methods and serves only to flag that an object can be cloned. Collection, Reader, and Runnable all declare methods. Marker interfaces like Cloneable, Serializable, and Remote are used to signal special JVM treatment rather than define behavior contracts.