main class ? | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
+ 1

main class ?

why we called a string array in class method public static void main(String[ ] args) {

22nd Jan 2018, 6:57 PM
adam abdo
adam abdo - avatar
2 Respuestas
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.
24th Jan 2018, 9:49 PM
Purpll
Purpll - avatar