Answers

Question and Answer:

  Home  Java Software Engineer

⟩ Tell us what is the marker interface in Java?

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.

 152 views

More Questions for you: