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 is ide with example?

0 Answers  


Break statement can be used as labels in java?

0 Answers  


Write a java program to get a string of words and print the numbers of each word count in descending order

11 Answers   Logica CMG, Subex,


Can an exception be rethrown?

4 Answers   Wipro,


Java.util.regex consists of which classes?

0 Answers  






What is math in java?

0 Answers  


what is default layout of JFrame class?

6 Answers  


whats string ?

10 Answers   HCL,


How multi processing is achieved in JAVA?

5 Answers   BMC,


Difference between static synchronization vs. Instance synchronization?

0 Answers  


Which sorting algorithm is best in java?

0 Answers  


Explain about fail fast iterators in java?

0 Answers  


Categories