May 2021 3 155 Report
int i = Integer.parseInt(args[0]);?

Why do I get I get this error?

java.lang.NumberFormatException: For input string: "game"

Update:

args = [game]

java.lang.ArrayIndexOutOfBoundsException: 1

Is what the console is displaying, sorry I didn't mention this, But i'm a java noob..


Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Answers & Comments




Helpful Social

Copyright © 2024 Q2A.MX - All rights reserved.