why Runnable interface is preferable than extending the
Thread class?
Answer Posted / rameshkrishna
imolimen Runnabule inerface and extends Thread functionally
both are same.But implimenting RunnebleInterface more
advantage because of there is possibility extends more then
one class and also we can override run() only once.
| Is This Answer Correct ? | 10 Yes | 4 No |
Post New Answer View All Answers
Which is the best approach for creating thread ?
Describe the term diamond problem.
What is used of static keyword in java?
What is proper subset?
What does this () mean in constructor chaining concept?
which is advanced deep technology in java launched by the sun microsystem??? The answer is very logical If u need correct answer mail me at priya_gupta@gmail.com
How does java enable high performance?
Can inner class be public in java?
What do you mean by formatting?
Give us a program to check for parenthesis matching using stack.
Explain the Propertie sof class?
Explain enumeration in java?
Why pointers are not used in java?
List some important features of java 10 release?
Explain differences between collection api and stream api?