What are null interfaces? Give some examples?

Answers were Sorted based on User's Feedback



What are null interfaces? Give some examples?..

Answer / debapriya patra

Null interfaces in java means "marker interfaces".Interface
which does not contain any variables and methods are called
marker interfaces.

Example:

serialize,cloneable etc...

Is This Answer Correct ?    7 Yes 0 No

What are null interfaces? Give some examples?..

Answer / ravikiran

Null interface are the interfaces with out methods.Known as
marker interfaces.
serializable
externalizable
cloneable

Is This Answer Correct ?    7 Yes 2 No

Post New Answer

More Core Java Interview Questions

What is lambda in java?

0 Answers  


Describe different states of a thread.

0 Answers  


Is java free for commercial?

0 Answers  


What is an Iterator interface?

2 Answers  


What is the purpose of the return statement?

0 Answers  






What is main string [] args?

0 Answers  


Explain the difference between transient and volatile in java?

0 Answers  


What is the escape character in java?

0 Answers  


what is ABSTRACTION and what are using in real time project?

1 Answers   iGate,


I have a Person object with 5 variables and I want to store them in a file called Person.txt. What should I do?

3 Answers   KPIT,


What are the elements of java?

0 Answers  


What if I write static public void instead of public static void in java?

0 Answers   Winsol Solutions,


Categories