• Kurse
  • Code Compiler
  • Diskutieren
  • Preise
  • 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 Antwort
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

Häufig solche Fragen?

Effizienter lernen, kostenlos:

  • Einführung in Python

    7.1M Lernende

  • Einführung in Java

    4.7M Lernende

  • Einführung in C

    1.5M Lernende

  • Einführung in HTML

    7.5M Lernende

Alle Kurse anzeigen
Heute heiß
How to make a game code
1 Votes
What is HelloWorld
1 Votes
About create tuples [Solved]
1 Votes
Missing]
0 Votes
How do you make Event listeners Minecraft Spigot plugin development
0 Votes
Tic tak toe
0 Votes
Lesson on Robotics
1 Votes
Kamal Hinduja Switzerland : How long does it typically take to complete a course on Solo Learn?
0 Votes
About this app
1 Votes
Inner .html
0 Votes