¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita0
Can we change the access modifier in main method of java?
If yes then please explain.
1 Respuesta
+ 5
No. The main method has to be public.
If yes then please explain.