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
What is a data structure java?
What is break and continue statement?
What are the different types of constructor?
What is java thread dump, how can we get java thread dump of a program?
What is a consumer in java?
How hashmap increases its size in java?
What is the importance of hashcode() and equals() methods?
What is the difference between Java1.4 and Java1.5
What are annotations in java?
What are the benefits of immutable objects?
What is an object's lock and which object's have locks in java programming?
Can we instantiate interface in java?
What does indexof return in java?
Explain about the performance aspects of core java?
What type of variable is gender?