+ 3
What is the "new" keyword in Java and what does it do?
4 Respuestas
+ 4
Here's a Practical view on using the keyword "new"
https://code.sololearn.com/ckJ4tFAA314i/?ref=app
+ 3
It defines a new instance or object of a class.
Like:
Car Bugatti= new Car();
This snippet says that Bugatti is an object of the class Car.
+ 2
ok thnx
+ 2
thank u too limitless😊