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

Does it matter in what order catch statements for filenotfoundexception and ioexception are written?

708


Can we have more than one package statement in the source file?

849


Can we call the constructor of a class more than once for an object?

825


Can we have try block without catch block?

794


Explain importance of throws keyword in java?

766


What's the access scope of protected access specifier?

775


What are the pillars of java?

666


What is ascii code?

829


Difference between string, stringbuffer and stringbuilder?

802


What is the arraylist in java?

735


What is skeleton and stub? What is the purpose of those?

772


What is the concatenation operator in java?

809


What are the characteristics of Final,Finally and Finalize keywords.

924


What are different access specifiers in java?

752


What methodology can be employed to locate substrings inside a string?

714