Hi can u pls tell me what is the use of marker interface.
Iknow what is marker interface but what ability will the
object get by implementing this.

Answer Posted / sowmya sreenivasan

Marker Interface is also called Tagging interface which are used as a boolean property of a class but actually doesnt require implementation of any methods.
eg:java.io.serializable interface.
The objects of the class implementing this interface are serializable objects.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is java code slower than native code?

776


What are the 8 data types in java?

753


Can we increase array size dynamically in java?

720


What are the benefits of operations in java?

691


how to split string in java?

877


What is the primitive type byte?

780


Which eclipse is best for java?

750


Which software is used for java programming?

777


What is java’s garbage collected heap?

730


write a program that list all permutations of ABCDEF in which A appears before B?

2243


What is :: operator in java?

710


Is java hashset ordered?

822


What is a classloader in java?

746


how to create multithreaded program? : Java thread

712


How do you achieve polymorphism in java?

724