1. Q1: Click on the variables (object references) in the following code🔗/* reads input from default - keyboard */ Scanner input = new Scanner(System.in); /* reads input from InFile stream */ Scanner foo = new Scanner(InFile); 🔗
2. Q2: Click on the class names (but not constructors) in the following code🔗/* reads input from default - keyboard */ Scanner input = new Scanner(System.in); /* reads input from InFile stream */ Scanner foo = new Scanner(InFile); 🔗
3. Q3: Click on the calls to the Scanner constructor in the following code🔗/* reads input from default - keyboard */ Scanner input = new Scanner(System.in); /* reads input from InFile stream */ Scanner foo = new Scanner(InFile); 🔗
4. Q4: Click on the parameters which are passed to the Scanner constructor in the following code🔗/* reads input from default - keyboard */ Scanner input = new Scanner(System.in); /* reads input from InFile stream */ Scanner foo = new Scanner(InFile); 🔗