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



What is the USE of Null interfaces ??...if thers nothing inside these interfaces how are they used..

Answer / 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

More Core Java Interview Questions

What are the different ways of implementing thread? Which one is more advantageous?

0 Answers  


What is inheritance?

5 Answers   Accenture, Hexaware, Syntel,


How HashMap implemented in java? how it internally works when values are added or searched from hashMap?What is the difference betweenthe implementation of hashmap and Linked Hashmap?

3 Answers   IBM,


What is final int?

0 Answers  


Explain break statement and continue statement?

3 Answers  






What is the difference between length and size in java?

0 Answers  


Is the milky way in a void?

0 Answers  


Are true and false keywords?

0 Answers  


Is java ee a framework?

0 Answers  


What does bitwise or mean?

0 Answers  


What is a boolean expression in java?

0 Answers  


Hi Friends.. can any one provide the real time example for methodoverloading and methodoverriding .........

2 Answers   Honeywell,


Categories