Sign up
Sign in
Topics
Computing
Starting Out with Java From Control Structures through Data Structures
Quiz 2: Java Fundamentals
Which Scanner Class Method Reads an Int
Question 42
Multiple Choice
Which Scanner class method reads an int? A) readInt() B) nextInt() C) getInt() D) read_int()
Explore answers and all related questions
Related questions
Q 43
Which Scanner class method reads a String? A) readString() B) nextString() C) getString() D) nextLine()
Q 44
All Java statements end with semicolons.
Q 45
Although the dollar sign is a legal identifier character,you should not use it because it is normally used for special purposes.
Explore all questions