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 exactly is java?

703


When the constructor of a class is invoked?

771


What is java algorithm?

703


What is the difference between multitasking and multithreading in Java

963


What is the purpose of void class?

803


Can a abstract class be declared final?

774


What is the difference between path and classpath variables?

722


Can you create an object of an abstract class?

763


What is mutable object and immutable object?

874


What is the use of predicate in java 8?

685


how many types of Inheritance?

917


What is the use of inner class?

759


Is char a method in java?

742


What is an arraylist in java?

710


Why are pointers not secure?

779