Saturday, 19 January 2013

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?