If I were to run my code using java example hello 3
the output would be hello 3
However, if I want to run java example hello world 3
the output would be hello world
not hello world 3
How would I fix this?
public static void main(String[] args){
String t = args[1];
int s = Integer.parseInt(args[0]);
System.out.println(t)
System.out.println(s)