Monday, April 30, 2007

java.lang.* package

What is a thread?

What is the difference between process and threads?

What are two types of multitasking?

What are two ways of creating threads in Java and why so?

How does multithreading take place on a computer with a single CPU?

How a Java object be locked for exclusive use by a given thread?

What is Synchronization?

Explain wait(),notify(), and notifyAll() methods?

What is a Daemon thread?

How a dead thread can be started?

What is the difference between String and StringBuffer?

How is '==' different from .equals() method in case of String objects?

Explain StreamTokenizer?



Interview Questions On Java,Java EE Copyright © 2016. Reads: best tracker