
BASIC JAVA
Authored by Sir. Amoyo
Computers
11th Grade
Used 19+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
50 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which Scanner class method that closes the scanner?
void remove()
void close()
nextLong()
String next()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which Scanner class method that resets the scanner?
nextFloat()
int radix()
Scanner skip(String pattern)
short nextShort()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which Scanner class method is used to read th Integer value from the user?
next()
nextInteger()
nextInt()
readInt()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which Scanner class method is used to read long value from the user?
long()
nextLong()
nextValue()
none of the choices
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which Scanner class method is used to read string value from the user?
next()
nextString()
nextLine()
none of the choices
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which Scanner class method is used to read boolean value from the user?
next()
readBoolean()
nextBoolean()
none of the choices
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?