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

In a container there are 5 components. I want to display all the component names, how will you do that?

1557


How are this() and super() used with constructors in java programming?

567


Why is string class considered immutable?

593


what is an objects lock and which objects have locks? : Java thread

532


What is empty list in java?

621






Difference between arraylist and hashset in java?

539


Write a java program to generate fibonacci series ?

568


What are the benefits of operations?

509


Why does java not allow multiple public classes in a java file ?

3438


Which object oriented concept is achieved by using overloading and overriding?

552


What do you mean by append?

530


What is meant by bytecode?

572


How will you print number in reverse (descending) order in BST.

576


What are synchronized blocks in java?

598


Can we increase array size dynamically in java?

504