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 do you understand by final value?
Is an integer an object?
Is java platform independent?
Can we execute a program without main() method?
Is java util regex pattern thread safe?
What is the difference between public, private, protected, and friend access?
What is unicode datatype?
What is array length?
Which class is the superclass of all classes?
What are the advantages of arraylist over arrays?
How do you sort a list in java?
What is a char in java?
What do you understand by java virtual machine?
What is a numeric literal?
What is a short in java?