Input Test
star
star
star
star
star
Last updated over 1 year ago
25 questions
4
Which of the following Scanner methods can be used to read in 65535 ?
Which of the following Scanner methods can be used to read in 65535 ?
4
Which of the following Scanner methods can be used to read in a line of words?
Which of the following Scanner methods can be used to read in a line of words?
4
Which of the following Scanner methods can be used to read in the value “apluscompsciisthebest” ?
Which of the following Scanner methods can be used to read in the value “apluscompsciisthebest” ?
4
Given the following statement, var must be defined as which of the following types?var=keyboard.nextFloat();
Given the following statement, var must be defined as which of the following types?
var=keyboard.nextFloat();
4
Given the following statement, var must be defined as which of the following types?var=keyboard.nextLine();
Given the following statement, var must be defined as which of the following types?
var=keyboard.nextLine();
4
Which of the following Scanner methods can be used to read in a double?
Which of the following Scanner methods can be used to read in a double?
4
Given the following statement, var must be defined as which of the following types?var=keyboard.nextLong();
Given the following statement, var must be defined as which of the following types?
var=keyboard.nextLong();
4
Which of the following Scanner methods can be used to read in a short?
Which of the following Scanner methods can be used to read in a short?
4
Which of the following is the Java class used for input?
Which of the following is the Java class used for input?
4
Which of the following is used in the Scanner constructor to connect to the keyboard?
Which of the following is used in the Scanner constructor to connect to the keyboard?
4
Which of the following Scanner methods can be used to read in a String?
Which of the following Scanner methods can be used to read in a String?
4
Which of the following Scanner methods can be used to read in an integer?
Which of the following Scanner methods can be used to read in an integer?
4
Which of the following Scanner methods can be used to read in a byte?
Which of the following Scanner methods can be used to read in a byte?
4
Which of the following Scanner methods can be used to read in the value”apluscompsci is the best” ?
Which of the following Scanner methods can be used to read in the value
”apluscompsci is the best” ?
4
Which of the following would correctly define and instantiate a Scanner?
Which of the following would correctly define and instantiate a Scanner?
4
Which of the following Scanner methods can be used to read in a long?
Which of the following Scanner methods can be used to read in a long?
4
Given the following statement, var must be defined as which of the following types?var=keyboard.next();
Given the following statement, var must be defined as which of the following types?
var=keyboard.next();
4
Which of the following Scanner methods can be used to read in 511.278 ?
Which of the following Scanner methods can be used to read in 511.278 ?
4
Given the following statement, var must be defined as which of the following types?var=keyboard.nextByte();
Given the following statement, var must be defined as which of the following types?
var=keyboard.nextByte();
4
Given the following statement, var must be defined as which of the following types?var=keyboard.nextDouble();
Given the following statement, var must be defined as which of the following types?
var=keyboard.nextDouble();
4
Which of the following Scanner methods can be used to read in 45 ?
Which of the following Scanner methods can be used to read in 45 ?
4
Given the following statement, var must be defined as which of the following types?var=keyboard.nextShort();
Given the following statement, var must be defined as which of the following types?
var=keyboard.nextShort();
4
Which of the following Scanner methods can be used to read in 32760 ?
Which of the following Scanner methods can be used to read in 32760 ?
4
Given the following statement, var must be defined as which of the following types?var=keyboard.nextInt();
Given the following statement, var must be defined as which of the following types?
var=keyboard.nextInt();
4
Which of the following Scanner methods can be used to read in a float?
Which of the following Scanner methods can be used to read in a float?