If there is no implementation of MARKER INTERFACE in java.
Then how compiler come to know about specification.
Answer Posted / vijayakumar chinnasamy
Every marker interface has some specific functionality and
no methods in that interface.
Ex:
Searializable - Persistent purpose
Clonnable - for cloning the object
SingleThreadedModel - only one object can be create.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is object english?
How to check if linked list contains loop in java?
Explain the differences between static and dynamic variables?
Can you access the private method from outside the class?
Explain java coding standards for constants?
What is string [] args?
What is the synonym of string?
How do you download stubs from Remote place?
What is java volatile?
Explain the difference between an Interface and an Abstract class?
What is default switch case? Give example.
List some oops concepts in java?
What does sprintf return?
What about static nested classes in java?
How does compareto method work?