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

Answer Posted / srinivas

the interface doesn't have any methods called marker interface
But due to implement that interface the object contain some capability.
EX: Clonable

Cloning means we can create exatly duplicate object

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why are parameters used in functions?

534


What is an arraylist in java?

517


What is the final keyword denotes?

677


What is the purpose of stub and skeleton?

549


What are the advantages of java inner classes?

562






Does collectionutils isempty check for null?

816


What does method mean?

517


Can constructor be static or final?

651


Explain when classnotfoundexception will be raised ?

569


What does += mean in java?

576


Can you sort a string in java?

494


Why java is secure? Explain.

598


What causes memory leak in java?

481


What are the main uses of the super keyword?

558


What are the different types of java?

561