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
Why do we need variables?
What is 32 bit float?
What is the difference between an if statement and a switch statement?
What is identifier give example?
Can a abstract class be declared final?
What is difference between array and vector?
Is it compulsory for a try block to be followed by a catch block in java for exception handling?
Which class cannot be a subclass in java?
What is use of inner class in java?
What is used of static keyword in java?
What type of value does sizeof return?
Is singleton class immutable?
What is finalize() function in java?
Why declare Main() method as a static in java ?
What are different access specifiers in java?