Answer Posted / ravinder
MARKER INTERFACE or TAGGED INTERFACE ARE GIVING SOME SORT
OF INFORMATION ABOUT THAT PARTICULAR OBJECT and it will
giving some marker abt thae object
Generally a interface witout methods are called are
marker/tagged interface..(but this is not corect)
Ex:
clonable,runnable,comparable,serializable
A inrefaces with some ability are ex of marker interface
1)in comparable interface,
one method compare() will be there.......>
.....
ex:
interface Good{}....>gives some infor.abt obj called as it
is good
interface Bad{}
Is This Answer Correct ? | 6 Yes | 7 No |
Post New Answer View All Answers
How many bytes is a string?
Which is the class in java?
How does a for loop work java?
Why is the main method declared static?
Explain about static imports in java?
What is the abstraction?
Differentiate between array list and vector in java.
What are the four versions of java?
What language is pass by reference?
What is the difference between throw and throws in java?
Explain OOPs concept.
What is a boolean flag in java?
How do you add an element to a hashset in java?
how does the run() method in runnable work? : Java thread
What is the old name of java?