In this lesson, students will learn how to receive user input with the Scanner class in Java. After creating a new Scanner object, they will learn the commands below that will allow them to take in data from the user.
String name = input.nextLine();
int number = input.nextInt();
double decimal = input.nextDouble();
Students will be able to:
This lesson builds toward the following Enduring Understandings (EUs) and Learning Objectives (LOs). Students should understand that…
These are all the activities included in the lesson