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
What is arguments in java?
What happens when you invoke a thread’s interrupt method while it is sleeping or waiting?
What is lexicographically smallest string?
What are the changes in java.io in java 8 ?
What is difference between final and finally in java?
Which is better list or arraylist in java?
What is complexity and its types?
What is data type in java?
Why is java called the platform independent programming language?
What is bytecode in java ?
What does the string method compareto () do?
How many bytes is a url?
What is the size of int?
Is string is a keyword in java?
Which is dependent variable?