Q.E Application based questions. (5 marks)
1.a) Rakesh used a piece of thread to connect the terminals A and B
shown in the figure. What will happen? (1)
citester is shown belowhtClassify the objects given below into on
Answers
Answered by
0
Answer:
Threads consumes CPU in best possible manner, hence enables multi processing. Multi threading reduces idle time of CPU which improves performance of application.
Thread are light weight process.
A thread class belongs to java.lang package.
We can create multiple threads in java, even if we don’t create any Thread, one Thread at least do exist i.e. main thread.
Multiple threads run parallely in java.
Threads have their own stack.
Advantage of Thread : Suppose one thread needs 10 minutes to get certain task, 10 threads used at a time could complete that task in 1 minute, because threads can run parallely.
Similar questions
English,
1 month ago
Science,
1 month ago
Business Studies,
2 months ago
English,
9 months ago
English,
9 months ago