what is use of threads how many ways to create thread
Answer Posted / subash chandra bose l
there are many uses of threads and the main use is to
execute several process at once.
there are two ways of creating a thread and
1. extending a Thread class
2. implementing Runnable interface
Is This Answer Correct ? | 8 Yes | 1 No |
Post New Answer View All Answers
Where are register variables stored?
What is the maximum size of hashmap in java?
What is singleton class example?
Can we make constructors static?
What is pojo class in java?
How to add menushortcut to menu item?
What is callablestatement? How you can call stored procedure to pass in parameter?
What are the ways to instantiate the class class?
String and stringbuffer both represent string objects. Can we compare string and stringbuffer in java?
Can we create a constructor in abstract class?
What is difference in between java class and bean?
Explain about sets?
When will we use them?
What does %4d mean in java?
How do generics work?