Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

why marker interfaces are there in java

Answer Posted / srinu

when class implements marker interface our class object
getting special behavoiur.
EX:-
suppose our class implements java.lang.Serializible
interface our class object getting special behaviour(our
class object converting java support format object to
network support)

Another Example our class implements java.rmi.Remote
interface our class object acts as Remote object.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How big is a 32 bit integer?

992


Why do we create public static method in java?

1044


can I implement my own start() method? : Java thread

934


What is flush buffer?

968


What is methodological framework?

973


Can we clone singleton object in java?

966


What are thread safe functions?

897


What is a treeset class?

949


What are the skills required for core java?

948


What is array pointers ?

979


what is the purpose of using rmisecuritymanager in rmi?

916


Why are the methods of the math class static?

1023


How we can make copy of a java object?

1043


What is vector?

994


When will we use them?

977