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
Explain a few methods of overloading best practices in java?
Does list allow duplicates in java?
I want to re-reach and use an object once it has been garbage collected. Define how it’s possible?
What is difference between Heap and Stack Memory?
Why can't we make a class private in java?
Explain the importance of throws keyword in java?
What is difference between final and finally in java?
What are strings in physics?
Is integer immutable in java?
What is the difference between public, private, protected, and friend access?
What is the benefit of lambda expressions?
Why javac is not recognized?
How objects are stored in java?
State differences between C and Java?
Is it possible for yielded thread to get chance for its execution again ?