Threads
Topics:
- What does thread mean in java programming language?
- What does yield method do in threads based programming and in what all scenarios do we basically use yield method?
- Do threads take precedence according to the priorities set using setPriority method of Thread class?
- How do we set priorities of each and every individual thread?
- What is thread priority?
- What does join method do in thread based programming and in what all scenarios do we actually use join method?
- What does currentThread method do as part of Thread class?
- What if we call run method twice on same thread object, can we do this in threads based programming?
- What happens if we call run method directly on thread object without calling start method, can we do this in threads based programming?
- What if we call start method twice on same thread object, can we do this in threads based programming?
- What does sleep method do as part of thread based programming?
- What does start and run method do as part of thread based programming and how do they work?
- What is the difference between pre-emptive scheduling and time slicing scheduling?
- What does thread scheduler do in java based application?
- In how many ways can we create thread as part of java based application?
- What is the life cycle of a thread?
- What is daemon thread and what are user threads?
