+ 1
main class ?
why we called a string array in class method public static void main(String[ ] args) {
2 ответов
0
Java is old, and most old languages need some kind of place to start off, before it can run the program, they use a main function. Newer languages also use a main function, but it's hidden, so you dont have to care about it.