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

How do you create an array in java?

0 Answers  


What is unicode used for?

0 Answers  


Is 0 true or false?

0 Answers  


what do you understand by synchronization? : Java thread

0 Answers  


What are the advantages of java over C++?

0 Answers  






What is the difference between yielding and sleeping?

0 Answers  


What are 4 pillers of object orinted programming?

0 Answers  


Is null a keyword in java?

0 Answers  


Explain why wait(), notify() and notifyall() methods are in object class rather than in thread class?

0 Answers  


What is bubble sorting in java?

0 Answers  


what is class.forname() and how it will be useful ?

3 Answers  


What is use of inner class in java?

0 Answers  


Categories