INFOSYS INTERVIEW QUESTIONS FOR FRESHERS – THEADING – JAVA

 INFOSYS INTERVIEW QUESTIONS FOR FRESHERS

· What’s difference between thread and process?

· What is thread safety and synchronization?

· What is semaphore?

· What are monitors?

· What’s the importance of synchronized blocks?

· How do we create threads?

· What’s the difference in using run able and extends in threads?

· Can you explain Thread. Sleep?

· How to stop a thread?

· What is wait () and notify ()?

· Can you explain how Scheduling and Priority works in threads?

· Can you explain Yielding in threading?

· What are daemon threads?

· How do we implement single threaded model in servlets?