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
Explain OOPs concept.
What is collection sort in java?
Are arrays passed by reference in java?
Explain about oops concepts.
What does localhost mean?
What does you mean in math?
Is void a data type in java?
What is the difference between super class & sub class?
how can you take care of mutual exclusion using java threads? : Java thread
What is the difference between @before and @beforeclass annotation?
Is 0 a prime number?
How many boolean functions are there?
How do you take thread dump in java?
Are the imports checked for validity at compile time? Will the code containing an import such as java.lang.abcd compile?
What is the meaning of 3 dots in java?