Marker is an interface without methods examples serializable, cloneable etc.
The use of marker interface is that to indicated the compile that it has to treat the objects implementing marker interface as per the specifications of the marker interface.
Example serializable interface is used to store persistent data.







Reply With Quote