User Profile
Collapse
-
Thank you for all who helped me on this post but i gave up on java and started learning python. -
ok so i figured it but, for the long term. how do i suppress
a thrown exception in the console...Leave a comment:
-
now i get an error
and got rid of the for statement
Code:Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 2 at Echo.main(Echo.java:5)
Leave a comment:
-
thank you for the help and it means a lot because im trying to better myself in java hoping to get some kind of job in the field of but im only 16 so there are some year to go....Leave a comment:
-
Java command passing args, help?
Code:public class Echo { public static void main (String[] args) { for (String s: args) { System.out.println(s); if (args[2] == "help"){ System.out.println("help"); } } } }
No activity results to display
Show More
Leave a comment: