how many ways to create Thread and which one is good?
runnable interface ot Thread class?
Answer Posted / balaji@cse@crr engg@eluru
types of creating thread
1)extend thread class
2)implement by runnable interface
=>2"nd method is good because by using interface we can
implement multiple inheritance
| Is This Answer Correct ? | 16 Yes | 0 No |
Post New Answer View All Answers
What is the difference between the final method and abstract method?
Can you create an object of an abstract class?
What is java ceil?
Is int a class in java?
Explain about the security aspect of java?
what is aggregation in java?
Is node a data type in java?
What does a method signature consist of?
Can vector have duplicates in java?
How do you download stubs from Remote place?
what do you mean by classloader in java?
What is the difference between the size and capacity of a vector?
What is immutable in java?
What are different access specifiers in java?
What is final method in java?