Each variable declared within the method should be initialized before its usage or compiler will report an error otherwise.
Having an initialized args variable within the print() method error will not occur since the addition operator initializes actions of transformation of all the arguments into string
String [] args parameter in main() is just a convention, and any suitable identifier for a string array can be used.
Войдите чтобы поставить Нравится
Войдите чтобы прокомментировать