Certification Course (Batch-01) | Quiz-02

Certification Course (Batch-01) | Quiz-02

Professional Development

10 Qs

quiz-placeholder

Similar activities

DECI - Week 2 - round

DECI - Week 2 - round

Professional Development

10 Qs

Java Certification

Java Certification

Professional Development

10 Qs

Python Session 5

Python Session 5

Professional Development

10 Qs

Examen sorpresa tema 2 1º Programación

Examen sorpresa tema 2 1º Programación

Professional Development

10 Qs

JAVA MS3

JAVA MS3

Professional Development

10 Qs

JDK,JRE,JIT & JVM MCQs

JDK,JRE,JIT & JVM MCQs

Professional Development

12 Qs

Streams

Streams

Professional Development

10 Qs

java

java

Professional Development

10 Qs

Certification Course (Batch-01) | Quiz-02

Certification Course (Batch-01) | Quiz-02

Assessment

Quiz

Computers

Professional Development

Hard

Created by

SDLC 2023

Used 1+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Scanner sc = new Scanner(System.in); here "in" is a/an-

Reference variable of System class

Reference variable of InputStream class

Reference variable of Reader class

Reference variable of Input class

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

scanner.next(int_value), here "int_value" we can define for -

initial value

input value

base of int value

none

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which character is used as a delimiter for scanner.nextInt() ?

space

null

zero

none

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Scanner class exist in which package?

java.lang

java.input

java.io

java.util

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What will be happen if we build and run this Java program?

Compilation failed

InputMismatchException

NumberFormatException

None

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What will be happen if we build and run this Java program?

Compilation failed

InputMismatchException

NumberFormatException

None

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

what will be the output if we run this program and give input value: hello 10 20?

Compilation failed

Runtime exception

hello1020

hello30

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?