💻ap computer science a review

Scanner class

Written by the Fiveable Content Team • Last updated August 2025
Verified for the 2027 exam
Verified for the 2027 examWritten by the Fiveable Content Team • Last updated August 2025

Definition

The Scanner class is a built-in Java class that allows users to read input from various sources, such as the keyboard or a file.

AP course connection

Topic 2.7: 2.7 While Loops

Unit 2

"Scanner class" also found in:

2,589 studying →