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 / ravinder

When a class implements a marker interface, then the object
of that class is given with a special behavior. For example
if a class implements remote interface(available in
java.rmi.* package) object of that class acts as a Remote
Object. For this reason java provides Marker Interface.

Is This Answer Correct ?    7 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between compare and compareto in java?

946


What happens to the Exception object after handling an exception?

2323


Why is serialization required?

913


Have you ever used hashtable and dictionary?

974


Why lambda expression is used in java?

996


Give few examples of final classes defined in Java API?

1113


What is the difference between ArrayList and Vector? which one is better in Java

1078


What are the types of java languages?

929


Why string is a class?

894


What is the java reflection api? Why it’s so important to have?

924


What does it mean that a method or field is “static”?

921


How to make object serializable in java?

924


How do you create an array in java?

939


What are default methods ?

983


Explain the difference between comparator and comparable in java?

880