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 |
When you say String is immutable, what do you mean by that? Say I have String s = "Ness" s= s+"Technologies"; What will happen? If the value gets appended, then what is the meaning of immutable here?
What is difference in between java class and bean?
In Java why we write public static void main(String args[]) why not main()?
46 Answers Aptech, GE Healthcare, Infosys, Microsoft, New Horizon, Practical Viva Questions, TCS, Wipro,
What if constructor is protected in java?
What are the OOAD concepts in java explain with examples?
How do you test a method for an exception using junit?
What is the difference between throw and throws?
what Data encapsulation in java?
what is meant by multicast?
What are structs in java?
what is difference between validation.xml & validation rules.xml?
What is user defined exception?