what is marker interface ? what is the necessity of it?
Answer Posted / sandeep
An interface that contains no methods. Eg: Serializable,
Cloneable, SingleThreadModel etc. It is used to just mark
java classes that support certain capability.
| Is This Answer Correct ? | 24 Yes | 3 No |
Post New Answer View All Answers
What is the preferred size of a component in java programming?
Why do we use threads in java?
Which sorting is best in java?
Why main() method is public, static and void in java ?
What is difference between static class and normal class?
What are the four pillars of java?
give an example for encapsulation?
Can a final method be overloaded?
If a class is declared without any access modifiers, where can the class be accessed?
What is arrays sort in java?
Where is stringbuffer stored?
What is byte [] in java?
What is __ init __ functions?
Difference between static and dynamic class loading.
Explain the key functions of data binding?