What are null interfaces? Give some examples?
Answers were Sorted based on User's Feedback
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 |
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 |
What is lambda in java?
Describe different states of a thread.
Is java free for commercial?
What is an Iterator interface?
What is the purpose of the return statement?
What is main string [] args?
Explain the difference between transient and volatile in java?
What is the escape character in java?
what is ABSTRACTION and what are using in real time project?
I have a Person object with 5 variables and I want to store them in a file called Person.txt. What should I do?
What are the elements of java?
What if I write static public void instead of public static void in java?