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...

Hi can u pls tell me what is the use of marker interface.
Iknow what is marker interface but what ability will the
object get by implementing this.

Answer Posted / sudheer

The interfaces with no defined methods act like markers. They just tell the compiler that the objects of the classes
implementing the interfaces with no defined methods need to be treated differently.
Example Serializable, clonable etc.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What class of exceptions are generated by the java run-time system?

1119


Why does java have two ways to create child threads? Which way is better?

985


What is the independent variable in an experiment?

906


what is aggregation in java?

943


Is call by reference possible in java?

907


What are peerless components in java programming?

959


What is the meaning of I ++ in java?

1099


What is a generic code?

977


State two differences between C and Java.

1267


What is super constructor?

945


What is the purpose of object oriented programming?

918


Why deletion in linkedlist is fast than arraylist?

1023


How do you bind variables?

1025


What is an i/o filter?

1661


What is method with example?

1015