• Курсы
  • Компилятор кода
  • Обсуждения
  • Цены
  • 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 ответ
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

Часто задают такие вопросы?

Учитесь эффективнее, бесплатно:

  • Введение в Python

    7.1M учащихся

  • Введение в Java

    4.7M учащихся

  • Введение в C

    1.5M учащихся

  • Введение в HTML

    7.5M учащихся

Смотреть все курсы
Актуальное сегодня
Need a personal tutor
1 Votes
Fix code
0 Votes
I can't figure out how to use the getElementById code in JavaScript Code Playground, I've tried multiple times and watched YT
0 Votes
..
1 Votes
How can I turn my .py files to .exe files?
1 Votes
Software to write and run codes
1 Votes
Add lua
0 Votes
How Much RAM is Required for Object Detection Project
0 Votes
Beginner_to_SoloLearn
1 Votes
How to learn C++ and how long does it take
1 Votes