Empty interface (no field or methods) in java is called marker interface. Marker interface in Java is an empty interface and is used to signal to compiler or JVM that the objects of the class implementing this interface must be treated in a special way.
Examples of marker interface are Serializable, Cloneable and Remote interface.
Read More
- Microservices – Discovery Patterns
- How Spring detects what beans (components) are available in an application during component scanning process?
- Write a Java program to draw pyramid pattern
- Encapsulation
- JavaScript Loops
- Explain Final keyword in java?
- Concurrency API Improvements
- What are different ways to create objects in Java?
- Write a Java Program to find middle element in LinkedList.
- CSS Lists
- CSS Pseudo-element
- Can we call run() method of a Thread class?
- HTML Iframes
- JavaScript Arrays
- HTML Editors
- CSS Align
- Write a Java program to draw pattern 3
- Write a Java program to draw diamond pattern
- What would the command mvn clean do?
- CSS Max-width