Why null interfaces are used in Java?

Answers were Sorted based on User's Feedback



Why null interfaces are used in Java?..

Answer / guest

Null interfaces can also be called as Tag interface
eg: Serializable,RandomAccess

Is This Answer Correct ?    1 Yes 1 No

Why null interfaces are used in Java?..

Answer / sub

To protect a class derived by other classes

Is This Answer Correct ?    1 Yes 3 No

Post New Answer

More Core Java Interview Questions

How can you set an applet’s height and width as a percentage?

0 Answers  


How are this() and super() used with constructors?

9 Answers  


Explain the difference between call by refrence and call by value?

0 Answers  


What is singleton class and how can we make a class singleton?

0 Answers  


Difference between process and thread?

0 Answers   HP,






What is a get method?

0 Answers  


What is size of int in java?

0 Answers  


What is the point of java?

0 Answers  


How do you replace all in word?

0 Answers  


What is the program compilation process?

0 Answers  


Different types of Layouts?

11 Answers  


How to add and remove nodes in Jtree?

1 Answers  


Categories