why marker interfaces are there in java
Answer Posted / siva kumar g
Marker interfaces can create an environment.
Marker interfaces are used to specify that a class belongs
to a logical family or grouping - as quoted above,
Cloneable is used to indicate that a particular class can
be cloned, or Serializable is used to indicate that a
particular class can be serialized.
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
How do you write a good declaration?
can used Protected Class outside Function.?
What are some characteristics of interference class?
What are the different types of garbage collectors in java?
What does singleton mean in java?
How a string is stored in memory?
What is an example of a conditional statement?
What is local declaration?
Can we override compareto method?
How do you declare a destructor in java?
How to create an interface?
Why do we use threads in java?
Explain which of the following methods releases the lock when yield(), join(),sleep(),wait(),notify(), notifyall() methods are executed?
What is extension method in java?
What are nested classes in java?