Why null interfaces are used in Java?

Answer Posted / guest

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

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is private public protected in java?

815


What does the “final” keyword mean in front of a variable? A method? A class?

783


Are true and false keywords?

796


What is indexof?

737


Explain treeset?

860


What is command line argument in java?

852


What is the difference between a constructor and a method?

874


Differentiate between static and non-static methods in java.

812


Why java is called not pure object oriented language?

820


Which object oriented concept is achieved by using overloading and overriding?

821


What is lifetime variable?

744


Can you sort a list in java?

742


A person says that he compiled a java class successfully without even having a main method in it? Is it possible?

821


what is anonymous class in java?

768


Is arraylist ordered?

788