0
Java code (Array)
Why we need add new keyword under main method? since i did create a object for the class https://code.sololearn.com/cUOS0dVL8YYO
1 Answer
+ 3
Because main, being a static method, dont belong to a Program object than you have to create yourself one