How does marker interface provides functionality to the
implemented class ?

or How dose maker interface gets the functionalities as
serialization or cloning.

Answer Posted / yadav


I answered , Nobody has clear answer regarding this, The
marker interfaces would have got the functionalities from
the super class or interface . Marker interfaces are
called as tagged interfaces which wraps a specific
functionality with its name.It doesn't contains any method.

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

514


What is the public field modifier?

545


what is daemon thread and which method is used to create the daemon thread? : Java thread

532


What is n in java?

539


how is final different from finally and finalize in java?

610






What do you mean by light weight and heavy weight components?

559


How do you read a char in java?

463


What are the main uses of java?

529


What are the differences between abstract class and interface?

515


Can a top level class be private or protected?

578


What is toarray method in java?

562


Can a class be a super class and a sub-class at the same time? Give example.

800


What is the benefit of abstract class?

517


Why is core java important?

576


Why there are some null interface in java? What does it mean?

647