Java - Command Line Arguments
What is the output of the following Java code?
String s = "123"; int num = Integer.parseInt(s); System.out.println(num + 10);
What is the output of the following Java code?
String s = "123"; int num = Integer.parseInt(s); System.out.println(num + 10);
Integer.parseInt("123") converts string "123" to integer 123.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions