WHAT IS MARKER INTERFACE,AND NO METHODS IS NOT THERE ON THAT
INTERFACE THEN WHY WE USED IN JAVA?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / rameshreddy
it is in depth concept. The compiler developer internally
developed like that, Through that markinterface only(tag
interface) ,compiler identifies its internal functinality
| Is This Answer Correct ? | 1 Yes | 2 No |
Answer / olok
compiler treat this type of interface differently.
eg coloneable,serializable
| Is This Answer Correct ? | 1 Yes | 3 No |
What is a copy constructor in java?
Why non nested classes in java are not having marked as protected access specifier
What is javac in java?
Where is core java used?
When we will use an Interface and Abstract class?
What is the purpose of the main method?
What are the differences between heap and stack memory in java?
how to deploy tomcatserver to weblogic server? write d following steps?
What is an interface in java?
What are 3 data types?
What is the difference between an interface and an abstract class?
what is use of session tracking ?with example?