O'Reilly logo

Java Garage by Eben Hewitt

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

T
this

Java keyword referring to the current object instance.

Thread

The java.lang.Thread class defines the behavior of a single thread of control inside the JVM. It can be subclassed to create threads within your application. The other way to create a thread is to write a class that implements the java.lang.Runnable interface.

thread

A thread represents the basic unit of execution in an application. One process may have multiple threads running at once, with each performing a different function. When a thread is executed, local variables are stored in a separate memory space, so that different instances do not confuse or overwrite each other's values.

throw

Java keyword used when the programmer means to generate a new instance of an exception type ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required