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 is a finally block? Is there a case when finally will not execute?

549


What is passed by reference and pass by value ?

584


Explain the difference between arraylist and linkedlist in java?

486


Can I uninstall java?

553


How does linkedhashmap work in java?

519






Which is faster set or list in java?

531


What is concurrent hashmap and its features?

524


Write a program to search a number in the given list of numbers.

631


How does the garbage collector works in java?

572


How do you sort a string in alphabetical order in java?

534


What is a final class ?

604


How is string stored in java?

558


Can java cast null?

597


Is intellij better than eclipse?

541


Do we have pointers in java?

532