What are null interfaces in JAVA ? and give me some
examples?

Answer Posted / kalyan

Null interfaces are act as makers ...they just tell the
complier that the objects treated as a differently by
JVM...Examples of null interfaces is
serializable ,remote,Cloneable

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we inherit a class with private constructor?

663


Can we have any code between try and catch blocks?

643


What is meant by data hiding/encapsulation?

676


Differentiate between overriding and overloading cases?

679


when should you use stringbuilder class in a program?

607






What is exception hierarchy in java?

663


Differentiate between run time error and syntax error.

678


What is a singleton factory?

605


What is the use of singleton?

605


What is the primitive type short?

683


What is method reference in java?

678


What is += mean in java?

624


Explain all java features with real time examples

1307


What is autoboxing and unboxing?

666


What is the public method modifier?

636