الرجوع
تسجيل الدخول

What is the output of the following code if the input is 123?

Scanner scanner = new Scanner(System.in);
 int number = scanner.nextInt(); 
String text = scanner.nextLine(); 
System.out.println(number + " " + text);