what is marker interface ? what is the necessity of it?
Answer Posted / javaexp
<a
href="http://www.javaexperience.com/java-marker-interfaces/">Marker
interfaces in Java</a> are used for marking a specific
behavior and we can only simulate the behavior by writing
custom interfaces without any methods and having
implementing them by other classes.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How do you sort a string in java?
Explain restrictions for using anonymous inner classes?
Can a final method be overloaded?
What is a superclass?
What is unicode in java?
Difference between collection, collection and collections in java?
Why main method is called first in java?
What does the ‘static’ keyword mean? Is it possible to override private or static method in java?
What is the use of 'super' keyword inside a constructor?
What is polymorphism in java? What are the kinds of polymorphism?
Does it matter in what order catch statements for filenotfoundexception and ioexception are written?
Is arraylist ordered in java?
What is data string?
Is it possible to use string in the switch case?
Can we serialize singleton class?