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
- CSS Selectors
- JavaScript Arithmetic
- Hibernate Session
- What are the uses of Maven Plugins?
- Hibernate Object Relational Mapping
- JavaScript Switch
- Strategy Design Pattern
- Write a Java program to draw reverse pyramid pattern
- Hibernate Interceptors
- Keep It Simple and Stupid (KISS) Principle
- Functional Interfaces
- Proxy Design Pattern
- JavaScript Random
- CSS Combinators
- Java – Annotations
- HTML CSS
- Java 8 Introduction
- JavaScript Forms
- JavaScript Functions
- Polymorphism