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

What is Marker interface in java? and what is clone?

Answer Posted / ajay tiwari

Marker interfaces are those interface which may contain any
method but they provide some special information to the JVM
about what type of class or object it can be.

EX. Cloneable is a marker interface with no method which
means but it provide information to the JVM that class's
object who implement it can be cloned.

Runnable is also a marker interface with a run() method
which provide the information to the JVM that class's
object which implement this is used as a thread.

while the collection interface doesn't provide any special
information to the JVM that's why it is not as a Marker
interface

Is This Answer Correct ?    33 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Difference between vector and arraylist.

1122


what is meant wrapper classes?

1209


What is a generic data type?

1046


Explain the difference between a Thread and a Process.

1003


Is singleton thread safe in java?

991


How do you check if a character in a string is a digit or letter?

1076


What is a java object and java application?

1057


Can you explain the meaning of aggregation and composition

1011


How will you call an Applet using Java Script Function?

1041


What is the public method modifier?

1016


What are the two types of streams offered by java 8?

927


Which collection is ordered in java?

981


What's the base class in java from which all classes are derived?

1273


You're given a Boolean 2D matrix, can you find the number of islands?

1111


What are different data structures in java?

1054