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 is use of arraylist in java?
What is stored procedure. How do you create stored procedure ?
What is the argument in java?
How to sort array of 0 and 1 in java?
What restrictions are placed on method overloading in java programming?
What is local variable and instance variable?
Can a class extend more than one class?
What is the main method java?
what is optional in java 8?
Why is an interface be able to extend more than one interface but a class can’t extend more than one class?
What is string pool in java?
Differentiate between class and structure.
Why arraylist is not synchronized in java example?
Can an abstract class be a final class?
What one should take care of, while serializing the object?