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 user defined exception in Java?
Define an enumeration?
What is null object in java?
Does treeset use compareto?
What things should be kept in mind while creating your own exceptions in java?
What is the basic of java?
Why should we use singleton pattern instead of static class?
how its run?
What is thread life cycle in java?
What is the point of java?
Explain about main thread in java?
When a byte datatype is used?
What data type is string java?
Can the interface be final?
What is the difference between compare and compareto in java?