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

When should the method invokelater() be used?

0 Answers  


How many types of methods are there in java?

0 Answers  


What is the basic concepts of OOPS?

0 Answers   BlackRock,


How do you sort in descending order in java using collections sort?

0 Answers  


Explain, java is compatible with all servers but not all browsers?

0 Answers  


what are the application of compiler and interpreter for source program

2 Answers  


Why java is object oriented?

0 Answers  


how to fing linkedlist is circular or not?

1 Answers   TCS,


How many digits can a float hold?

0 Answers  


When should a function throw an exception?

0 Answers   Thomson Reuters, Virtusa,


Why charat is used in java?

0 Answers  


What is a instance variable in java?

0 Answers  


Categories