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
- Write a Java Program to find middle element in LinkedList.
- Java – Autoboxing/Unboxing
- Concurrency API Improvements
- JavaScript Objects
- Builder Design Pattern
- Microservices – Difference between MSA and SOA
- JavaScript Statements
- Why static methods cannot access non-static variables or methods?
- JavaScript Arithmetic
- What are Spring framework modules?
- What would the command mvn clean do?
- Visitor Design Pattern
- JavaScript Assignment
- JavaScript HTML DOM
- Generalization
- Write a program to find possible permutations in given String in Java
- HTML Classes
- CSS Pseudo-element
- Composite Design Pattern
- List out what are the aspects does Maven Manages?