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 stack example?
Tell us something about an iterator.
Can we convert stringbuilder to string in java?
Why is java called java?
Why we go for collections in java?
These static constructors are correct ? class A { statc intA() { } static A(int x,int y) { } static A(int x) { } }
what are synchronized methods and synchronized statements? : Java thread
How do you square a number in java?
Why we override equals() method?
Can a class have multiple constructors?
How java enabled high performance?
What a static class can contains?
What is the Concept of Encapsulation in OOPS
What are scalar data types?
What is Gang of four design patterns