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

Answer Posted / medha

marker interface is interface with no methods.marker
interfaces:
serializable,clonable,SingleThreadModel,EventListener
marker interfaces are called in order to add some
functionality to the calling classes.

Is This Answer Correct ?    16 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is meant by object?

569


What is thread safe java?

489


How do you make an arraylist empty in java?

467


Name some classes present in java.util.regex package.

599


What is a war file?

539






What is the size of integer?

579


Can you use this() and super() both in a constructor?

520


I have multiple constructors defined in a class. Is it possible to call a constructor from another constructor’s body?

583


What is garbage collection? Can it be forced to run?

537


Why java is a platform independent? Explain

527


What is dot operator?

565


What is object cloning in Java?

628


What is the use of static class?

537


Difference between doublesummarystatistics, intsummarystatistics and longsummarystatistics ?

541


How to declare objects of a class ?

581