Package | Description |
---|---|
java.lang |
Provides classes that are fundamental to the Java programming
language.
|
Modifier and Type | Class and Description |
---|---|
class |
Thread
A thread is a thread of execution in a program.
|
Constructor and Description |
---|
Thread(Runnable target)
Allocates a new
Thread object with a
specific target object whose run method
is called. |
Thread(Runnable target,
String name)
Allocates a new
Thread object with the given
target and name. |
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Use is subject to License Terms. Your use of this web site or any of its contents or software indicates your agreement to be bound by these License Terms.