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 the difference between applet and swing and gui application in java . What we do with the collections set and list interface

2 Answers   CTS, Phoenix Technologies,


What is difference overloading and overriding?

0 Answers   Cyient,


What is the difference between import java.util.date and java .util?

0 Answers  


What is mnemonic in assembly language?

0 Answers  


Differentiate between static and non-static methods in java.

0 Answers  






Is string is a keyword in java?

0 Answers  


Difference between java and javascript

0 Answers  


what is the Use of throws exception?

2 Answers  


What is close method? How it's different from Finalize & Dispose?

0 Answers   InfoAxon Technologies,


Difference between ?System.out.println? and ?System.error.println??

8 Answers   Sai Softech,


Explain about OOPS concepts and fundamentals.

0 Answers   Syntel, Visa,


Why is String immutable?

0 Answers   Atos Origin,


Categories