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
What are the concepts of 'OOPS'?
What is the default value of byte datatype in java?
How does regex work?
How is hashcode calculated in java?
What is the use of static methods?
What are features of java?
Why char array is preferred over string for storing password?
Explain about interrupt() method of thread class ?
Is java free for commercial?
What is difference between java and java ee?
What is an accessor?
What is the private method modifier?
What are the various access specifiers in java?
How do you get the length of a string in java?
What is the lifetime and scope of a variable?