WHAT IS MARKER INTERFACE,AND NO METHODS IS NOT THERE ON THAT
INTERFACE THEN WHY WE USED IN JAVA?
Answer Posted / ravi
Interfaces without any methos or constants are known as
Marker interface.They are used only to mark or tag a
class.it indicates that class supports that functionality.
| Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
What are the java ide’s?
What do you mean by composition in java?
What does nullpointerexception mean?
What is classpath?
Difference between final and effectively final ?
Is null in java?
Where and how can you use a private constructor?
What is java developer skills?
How does system arraycopy work in java?
Explain purpose of sleep() method in java?
What do you understand by the term polymorphism?
Can you run java program without main method?
What is the difference between break and continue statements?
Can we declare the static variables and methods in an abstract class?
Why destructor is not used in java?