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
- What is the sequence in which Maven searches for dependency libraries?
- HTML Emojis
- ACID properties in DBMS
- REST API – CRUD Operations
- Write a Java program to print first non-repeating character in given String
- What is the difference between innerHTML and innerText?
- JavaScript Arrow Function
- Hibernate Native SQL
- What is the difference between Process and Thread?
- Write a Program to print even and odd numbers using 2 threads in Java
- Write a program to reverse a String in Java
- Java – Annotations
- Microservices – Hystrix Dashboard
- CSS Forms
- CSS Height/Width
- HTML SVG
- CSS Combinators
- JavaScript Forms
- CSS Borders
- Liskov’s Substitution Principle (LSP)