• Cursos
  • Compilador de Código
  • Debatir
  • Precios
  • Teams
Menu
0

Is it right to have main method signature like

public static void main(String ... args)

java
2nd May 2017, 3:38 PM
Naveen Nayan
Naveen Nayan - avatar
1 Respuesta
0
I don't see why not. It means essentially the same thing. Read both of these answers. http://stackoverflow.com/questions/11952804/explanation-of-string-args-and-static-in-public-static-void-mainstring-a http://stackoverflow.com/questions/3158730/java-3-dots-in-parameters
2nd May 2017, 3:56 PM
Christian Bradley
Christian Bradley - avatar

¿Tienes a menudo preguntas como esta?

Aprende gratis de forma más eficaz

  • Introducción a Python

    7,1M de estudiantes

  • Introducción a Java

    4,7M de estudiantes

  • Introducción a C

    1,5M de estudiantes

  • Introducción a HTML

    7,5M de estudiantes

Ver todos los cursos
En tendencia hoy
Need suggestions
1 Votes
Hello can anyone help me to learn gdscript
0 Votes
What coding language should i use to make a custom coding language?
0 Votes
Best code for creating games?
0 Votes
progaming
1 Votes
Anyone Learning Godot?
1 Votes
Any easy game ideas for beginners?
0 Votes
hello world i need help
2 Votes
Which is more important CSS vs HTML vs JS?
1 Votes
Which databases are the best at injecting dynamic data within websites, and how can you achieve it?
0 Votes