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 Hashmap & Hashtable wirh example?
What happens if an exception is not caught?
Define inheritance?
difference between arraylist and linkedlist otherthan performance
Describe the syntax of multiple inheritance? When do we use such an inheritance?
What is a arraylist in java?
What is the difference between the paint() and repaint() methods in java programming?
Explain the difference between collection api and stream api in java8?
What are different data types?
IN java collections we have both interfaces and classes. instead of using interfaces why we can't use classes only like that why we can't use interfaces only. why we need two things interface and class.
Is empty string in java?
what is difference betwenn Access Specifier and Access Modifier ????