Computer Applications
The Scanner class can be used to read input from ...........
- a keyboard
- a file
- a string
- All of these
Input in Java
18 Likes
Answer
All of these
Answered By
3 Likes
Related Questions
Which package would you import for the Scanner class?
Errors occur in a program when ...........
Suppose you want to use the class MyClass of the package MyPackage.UtilityLibrary in a program you are writing. What do you need to do to make the following?
i. class MyClass available to your program
ii. all the classes of the package available to your program
Explain data input technique in a program using the Scanner class.