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 threaded programming and when is it used? : Java thread
Why are there no global variables in java?
Difference between string, stringbuffer and stringbuilder?
Explain about procedural programming language or structured programming language and its features?
How do you ensure that n threads can access n resources without deadlock?
How do you reverse a word in java?
How can you read an integer value from the keyword when the application is runtime in java? example?
What is split return?
Why put method is idempotent?
What is the difference between int and integer in java?
Why heap memory is called heap?
Explain the importance of throwable class and its methods?
What is string [] java?
What is dynamic binding(late binding)?
Explain the features of java?