Java Software Engineer Question:
Tell us what is the marker interface in Java?

Answer:
The marker interface in Java is an interfaces with no field or methods. In other words, it an empty interface in java is called a marker interface. An example of a marker interface is a Serializable, Clonable and Remote interface. These are used to indicate something to the compiler or JVM.
Previous Question | Next Question |
Explain me how does the JVM handle storing local variables vs storing objects? | Tell me what is the difference between an Iterator and a ListIterator? |