BASIC JAVA

BASIC JAVA

11th Grade

50 Qs

quiz-placeholder

Similar activities

GCSE Python Legends

GCSE Python Legends

1st - 12th Grade

45 Qs

Java Fundamentals

Java Fundamentals

10th - 12th Grade

47 Qs

#2 CIW Data Analyst - Certification Prep

#2 CIW Data Analyst - Certification Prep

9th Grade - University

54 Qs

VoIP - Teknologi Layanan Jaringan

VoIP - Teknologi Layanan Jaringan

11th Grade

50 Qs

คอมพิวเตอร์+ผังงาน

คอมพิวเตอร์+ผังงาน

9th - 12th Grade

50 Qs

Grade 4-Sistem Komputer

Grade 4-Sistem Komputer

4th Grade - University

50 Qs

AQA 8525 GCSE CS 3.2.10 Subroutines & 3.2.11 Robust & Secure

AQA 8525 GCSE CS 3.2.10 Subroutines & 3.2.11 Robust & Secure

10th - 11th Grade

50 Qs

Computer Basics

Computer Basics

9th - 12th Grade

52 Qs

BASIC JAVA

BASIC JAVA

Assessment

Quiz

Computers

11th Grade

Hard

Created by

Sir. Amoyo

Used 19+ times

FREE Resource

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

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?