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

What are wrapper classes in java?

1125


what methods would you overwrite in java.lang.object class?

1062


What are the restrictions imposed by a Security Manager on Applets?.

2648


What are the advantages of encapsulation in java?

1051


What is the purpose of abstract class?

1057


What is the vector class in java programming?

1139


Why is stringbuffer faster than string?

962


What is the do while loop syntax?

1082


Can we define private and protected modifiers for the members in interfaces?

1152


Outline the major features of java.

1126


What is the difference between final, finally and finalize()?

1240


How do you remove spaces in java?

1081


What is the use of accept () method in java?

1131


What does three dots mean in java?

1193


What is serialversionuid?

1154