File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes Name the null interfacess in java?what are they? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Java in General
Bookmark "Name the null interfacess in java?what are they?" Watch "Name the null interfacess in java?what are they?" New topic
Author

Name the null interfacess in java?what are they?

senthil sen
Ranch Hand

Joined: Oct 10, 2002
Posts: 184
Name the null interfacess in java?what are they?
Maulin Vasavada
Ranch Hand

Joined: Nov 04, 2001
Posts: 1871
hi senthil,
here r which i remember,
1. java.io.Serializable
2. java.lang.Cloneable
3. java.rmi.Remote
others, please add to this...
regards
maulin
Maulin Vasavada
Ranch Hand

Joined: Nov 04, 2001
Posts: 1871
hi senthil,
null interfaces are like placeholders you can say. they are just used to specify or constrain certain properties of the objects.
e.g. if we implement Serializable then it means that the object is serializable. if we impelement Cloneable then it means the object can be cloned.
these interfaces are referred as null as they don't have any method in them so we don't need to implement any method upon implementing them.
regards
maulin
 
GeeCON Prague 2014
 
subject: Name the null interfacess in java?what are they?