- Tell us something about your experience in Java?
- What do you understand from Java Thread? How do these threads contribute in Java programming?
- Name the different Java threads available? Explain each with the help of an example?
- What is waiting state? How can you enter a thread in waiting state? Explain the different waiting state methods available?
- What is yielding and sleeping? Explain any two differences in each? Where do you use these methods in Java Threading?
- Explain multithreaded program? How can you create this program? What are the different ways of using different threads?
- Discuss the initial state of thread creation and how can you start the thread after creating state?
- Give any two differences between time slicing and pre-emptive scheduling?
- Explain deadlock and discuss the purpose of wait (), run (), notify (), notify all ()?
- State the method by which multithreading takes place in the CPU?
- Can you lock a Java object by using multithreading?
Java Web Services Interview Questions
Previous post: Java J2ee Interview Questions
Next post: Database Testing Interview Questions