How can be define MARKER interfce in java
Answer / 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 |
Hi i am creating desktop application in that i want calling to mobile number. i have java telephone api (JTAPI) but i dont understand how it configure & use plese help me
What is the final access modifier in java?
How to synchonise HashMap
What is primitive data type in java?
What is :: operator in java?
Hi am an mca graduate . i have done bsc maths in my degree . every company asks me why you make shift from maths group to computere field . What i need to answer?
Wha is the output from system.out.println(“hello”+null); ?
what is the form of storage space in java?
Tell me about different OOPS concepts.
What are the types of literals?
Explain about main() method in java ?
i need source code for income tax program using java inheritance