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 are the important methods of java exception class?
What is the old name of java?
Can an interface have a class?
Why java is considered as platform independent?
What is the use of keywords in java?
What is a boolean structure?
How to do encapsulation in java?
What is the default value of byte datatype in java?
Say any two properties in beans?
What is the access scope of a protected method?
What is procedure writing?
What is a variable declaration?
When should I use a singleton?
Write java program to reverse string without using api?
What is the association?