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
What is java basic concept?
Is string is a keyword in java?
What are methods and how are they defined?
How do you test a method for an exception using junit?
What is internal variable?
What is an inner class in java?
What is java autoboxing?
What is meant by class?
Define how can we find the actual size of an object on the heap?
What is the difference between a local variable and an instance variable?
How many bits are used to represent unicode, ascii, utf-16, and utf-8 characters?
Is a method a procedure?
Write a java program to count the number of words present in a string?
What is an example of character?
What is the static field modifier?