why Runnable interface is preferable than extending the
Thread class?
Answer Posted / susheeel
Many Java programmers feel that classes should be extended
only when they are enhanced or modified in some way.So,if
you will not be overriding any of Thread's other methods,it
is probably best simply to implement Runnable.
| Is This Answer Correct ? | 32 Yes | 5 No |
Post New Answer View All Answers
How do you replace all in word?
What are abstract methods in java?
How we can generate random numbers in java?
What is the size of a string in java?
How do I get 64 bit java?
What is mnemonic code?
What is a singleton factory?
what is object-oriented programming in java?
When would you use a static class?
What is the integer of 16?
What does += mean coding?
What is null object in java?
Can an object subclass another object?
Explain an algorithm to find depth of a binary tree.
What is boolean keyword in java?