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

What will be the value of str after executing the following code snippet, assuming that Scanner class is imported and the input is:

CS211 this is the END

Scanner scnr = new Scanner(System.in);
String str;
str = scnr.nextLine();