Java Programming/Keywords/new

is a Java keyword. It creates a Java object and allocates memory for it on the heap. is also used for array creation, as arrays are also objects.

Syntax:  = ;

For example:

See also:
 * Java Programming/Creating Objects