what is use of threads how many ways to create thread
Answer Posted / poorna chandar rao.yerrabothu
thread is light whight processes its take low memory and low
proceesing time
there are two types thereds creatd
extending the thered class
implementing the runnable interface
| Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
Is ++ operator is thread safe in java?
What is the difference between preemptive scheduling and time slicing?
What is quick sort in java?
Can we execute a program without main() method?
Why is a constant variable important?
What is type parameter in java?
What is the reason behind using constructors and destructors?
How to access arraylist elements in java?
Can you give few examples of final classes defined in java api?
What are the types of collections in java?
How objects of a class are created if no constructor is defined in the class?
How do you make a thread in java?
When is the garbage collection used in Java?
How do you add an element to a set in java?
Can private members of a base class are inheritable justify?