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
Can we inherit a class with private constructor?
Can we have any code between try and catch blocks?
What is meant by data hiding/encapsulation?
Differentiate between overriding and overloading cases?
when should you use stringbuilder class in a program?
What is exception hierarchy in java?
Differentiate between run time error and syntax error.
What is a singleton factory?
What is the use of singleton?
What is the primitive type short?
What is method reference in java?
What is += mean in java?
Explain all java features with real time examples
What is autoboxing and unboxing?
What is the public method modifier?