why marker interfaces are there in java
Answer Posted / srinu
when class implements marker interface our class object
getting special behavoiur.
EX:-
suppose our class implements java.lang.Serializible
interface our class object getting special behaviour(our
class object converting java support format object to
network support)
Another Example our class implements java.rmi.Remote
interface our class object acts as Remote object.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is called module?
Difference between static binding and dynamic binding?
What is meant by flickering?
Name the components that are termed to be Heavy-weight component but available in Light-weight components?
can java object be locked down for exclusive use by a given thread? : Java thread
Differentiate between run time error and syntax error.
Tell some latest versions in JAVA related areas?
What is the use of hashmap in java?
why doesn't java run on all platforms?
What is a memory leak in java?
what do you mean by marker interface in java?
Write a program to find maximum and minimum number in array?
What are the features of java?
Which class is the superclass for every class in java programming?
If a variable is declared as private, where may the variable be accessed?