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


Please Help Members By Posting Answers For Below Questions

What is high level language in computer?

788


What is string data type?

776


What is the collection interface?

832


Does it matter in what order catch statements for filenotfoundexception and ioexception are written?

747


What are the differences between path and classpath variables?

795


Is vector ordered in java?

762


Is intellij better than eclipse?

801


What is struts in java?

829


What is member in java?

725


What is the significance of listiterator?

785


What are register variables what are the advantages?

713


What are void pointers?

1022


What is string in java?

788


What is a heavyweight component?

781


Can we use catch statement for checked exceptions when there is no chance of raising exception in our code?

843