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 the use of keywords in java?
What happens when main () method is declared as private?
What is the ResourceBundle?
2 Answers Elementus Technologies,
What is compiler and what its output.
What is classname class in java?
what is platform dependent translation and platform dependent programming language
Suppose there is an Online shopping cart application having different objects like Cart, SelectionItem, Billing, COnfiguration, Authentication, Authorization, PersonalDetails etc. Out of this which one can be made a singleton pattern and why?
Give the hierarchy of inputstream and outputstream classes.
what is instanceof operator used in java?
What are the states of thread in java?
how many access specifiers are available in java
Difference between interface and abstract class with ex.
4 Answers Cognizant, Tech Mahindra,