What is Marker interface in java? and what is clone?
Answer Posted / sai
Marker Interface is a interface which does not have methods
and also one more point is that it makes the method to
execute compulsory.Example Runnable Interface we call it as
a Marker Interface but as per the First Point it should not
be a Marker Interface but it contains a run() and when u r
extending the Thread Class it is making u to execute run()
Indirectly.
So my dear friends when u r argue abt some topic plz be
clear with it and then argue.
| Is This Answer Correct ? | 16 Yes | 32 No |
Post New Answer View All Answers
Name the components that are termed to be Heavy-weight component but available in Light-weight components?
What exceptions occur during serialization?
How many bits are in a sentence?
Can we override constructor?
What is the difference between an interface and an abstract class?
What is a java predicate?
what is anonymous class in java?
Is nan false?
Can you extend main method in java?
What is variable and example?
Can a constructor have different name than a class name in java?
What is use of functional interface in java 8? Explain
What is string value?
Why destructor is not used in java?
What does string mean in java?