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 will you communicate between two applets?
How do you add an element to a hashset in java?
Which is illegal identifier in java?
Why hashcode is used in java?
Which collections are thread safe in java?
What is difference between c++ and java ?
What is a subsequence of a string?
What is reverse function?
What are the different conditional statements?
Explain about serializable interface in java?
What are the special characters?
What is the use of conditional statement?
What do you understand by classes in java?
Can a list be null in java?
Difference between nested and inner classes ?