Which of the following is a marker interface?
A. Runnable interface
B. Remote interface
C. Readable interface
D. Result interface
Answer:B
Which of the following is a marker interface?
A. Runnable interface B. Remote interface C. Readable interface D. Result interface
Explanation: A marker interface is an interface with no fields and methods. In other words, an empty interface (contains nothing) is known as the marker interface. Examples of marker interfaces are Cloneable, Serializable, ThreadSafe, and Remote interface.