What is the USE of Null interfaces ??...if thers nothing
inside these interfaces how are they used and WHy are they
used ???? No 1 has given a proper description yet
Answer Posted / v.raju
The Null interfaces are called as Marker interfaces or
tagged interfaces they doesnt contain any code , they will
just declared to give some information about the class,
For example Serializable is a marker interface , it states
that the class can be serializable
cheers,
varahala raju
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is an example of a boolean?
How do you sort arraylist in descending order?
From the two, which would be easier to write: synchronization code for ten threads or two threads?
Why deletion in linkedlist is fast than arraylist?
What is passing by reference in java?
What are synchronized methods and synchronized statements in java programming?
What is the difference between the ">>" and " >>>" operators in java?
How does compareto work in java?
Explain the importance of import keyword in java?
What do you mean by local class?
What do the thread?class methods run() and start() do?
What is the static field modifier?
How do you square a number?
Can java list contain duplicates?
Explain the use of javap tool.