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 the difference between I ++ and ++ I in java?

508


Is void a type?

587


What is the functionality of the stub?

577


How we can generate random numbers in java?

612


Explain about data types?

582






What is substring in java?

621


Can we use static class instead of singleton?

586


What is the type of lambda expression?

543


What does += mean coding?

517


What is difference between next () and nextline () in java?

544


How to split arraylist elements in java?

607


What are multiple inheritances?

587


What is methods in java?

518


What is hashmap in java?

573


What is boolean law?

522