BASIC JAVA

BASIC JAVA

11th Grade

50 Qs

quiz-placeholder

Similar activities

Unit 3 - Introduction to Algorithms Review

Unit 3 - Introduction to Algorithms Review

9th - 12th Grade

45 Qs

MS Excel Test #1

MS Excel Test #1

9th - 12th Grade

45 Qs

EXAM REVIEW: Computing Principles

EXAM REVIEW: Computing Principles

9th - 12th Grade

50 Qs

Pemrograman Web - HTML/CSS

Pemrograman Web - HTML/CSS

11th Grade

50 Qs

EmTechQ1

EmTechQ1

11th Grade

45 Qs

2.8 Wireless Networking

2.8 Wireless Networking

9th - 12th Grade

48 Qs

CodeCademy - Python 3 - Syntax and Functions

CodeCademy - Python 3 - Syntax and Functions

7th - 12th Grade

50 Qs

PTS AIJ XI TKJ | 2022/2023

PTS AIJ XI TKJ | 2022/2023

11th Grade

45 Qs

BASIC JAVA

BASIC JAVA

Assessment

Quiz

Computers

11th Grade

Practice Problem

Hard

Created by

Sir. Amoyo

Used 19+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is the correct syntax to declare Scanner class object?

Scanner X = new Scanner (System.in);

Scanner X = Scanner( );

Scanner X = new( );

Scanner X = new Scanner (System.in)

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?