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
What is data type modifier?
What is final int?
What are the different types of constructor?
What is command line used for?
Variable of the boolean type is automatically initialized as?
What is multi-catch block in java?
Explain the purpose of garbage collection in Java?
What is the main use of java?
What are synchronized methods and synchronized statements in java programming?
What is default switch case? Give example.
What is the formula to calculate percentage?
Explain the term virtual machine?
What is the difference between char and char *?
Why use string handling in Java?
Explain about collection interface in java?