+ 2
Why the new keyword is used?
Why the new keyword is used in scanner class,at the time of declaration of an array?
1 Resposta
+ 2
It's to instantiate an object from a class. Think of it as making a "new" object from a class.
Why the new keyword is used in scanner class,at the time of declaration of an array?