0
I am starting to learn java and in my simple code input arguments in the program is giving the error:
Exception in thread "main" java.lang.Arrayindexoutofboundsexception: 0
This is my code:
public class Saudacao {
public static void main(String[] args) {
System.out.println("Saudacao, " + args[0]);
}
}
Right, I went to the terminal in my virtual machine and gave everything right, thank you. But... how do I do in Vscode? right in windows, you can tell me?
– Gianluca Belhome
Top: Terminal ~> New Terminal. At the bottom will open the terminal. (:
– o1rb
Show, helped a lot, abs
– Gianluca Belhome