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 is called module?

931


Difference between static binding and dynamic binding?

1046


What is meant by flickering?

1035


Name the components that are termed to be Heavy-weight component but available in Light-weight components?

2452


can java object be locked down for exclusive use by a given thread? : Java thread

1039


Differentiate between run time error and syntax error.

1071


Tell some latest versions in JAVA related areas?

934


What is the use of hashmap in java?

1029


why doesn't java run on all platforms?

986


What is a memory leak in java?

1023


what do you mean by marker interface in java?

929


Write a program to find maximum and minimum number in array?

947


What are the features of java?

1017


Which class is the superclass for every class in java programming?

952


If a variable is declared as private, where may the variable be accessed?

1011