wood burning stoves 2.0*
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
 
 
subject: Name the null interfacess in java?what are they?
 
Similar Threads
null and not null in java
What is the difference between null and NULL in java?
http 500 in jsp page
Is There Null Interface in Java?
here are some interview questions asked?any one kindly reply to these quesitons??