Marker interface means , interface which has no methods.Then
what is the necessity of its usage.I read "it tells the
compiler that it should be treated differently ". "It is
used to store state of an object". But still am not
clear.Please explain clearly.
Answer Posted / ras
To store the state of object
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How do you do exponents in java?
What are the legal operands of the instanceof operator?
What is the full meaning of java?
What is entry set in java?
Write a java program for binary search?
What are the restrictions that are applied to the java static methods?
Why array is used in java?
What are the high-level thread states in java programming?
Explain the difference between arraylist and linkedlist in java?
What is difference between local variable and global variable?
Can we have two main methods in a java class?
Is string a class in java?
Addition to previous section relative word 5th one was Putrid ans: rotten, also there was prob. in 1st section on bucket weight ans:10kg, also there was a prob. on train speed to find bridge length ans:800 mtrs.
Differentiate between class and structure.
Can an integer be a string?