+ 2

New keyword

usage of new keyword

21st May 2018, 10:51 AM
Rahman Rezaie đŸ‡ŠđŸ‡«
Rahman Rezaie đŸ‡ŠđŸ‡« - avatar
1 Answer
+ 4
A quick google search gave me this: "new is a Java keyword. It creates a Java object and allocates memory for it on the heap.new is also used for array creation, as arrays are also objects. ... JavaProgramming/Creating Objects."
21st May 2018, 10:53 AM
Ulisses Cruz
Ulisses Cruz - avatar