what is use of marker interface? give me good example?
Answer Posted / devendra.m
Marker interface is a interface,in which that,it doesn't
have any methods...just which is giving mark to the run time
environment.
clonable,serializable,singleThreadModel are marker interfaces.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is the difference between normal report & matrix report?
What is your platform’s default character encoding?
What is the static variable?
What are the five major types of reference sources?
What is a variable declaration?
How can we access some class in another class in java?
How big is a boolean?
What is the difference between synchronized and synchronized block?
What is an iterator interface in java programming?
Explain about transient variables in java?
What is meant by distributed application? Why are we using that in our application?
Can you pass by reference in java?
What modifiers may be used with an inner class that is a member of an outer class in java programming?
What is an class?
What is the preferred size of a component in java programming?