
Certification Course (Batch-01) | Quiz-02

Quiz
•
Computers
•
Professional Development
•
Hard
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
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
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
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
Similar Resources on Wayground
10 questions
Advanced JS

Quiz
•
Professional Development
14 questions
Input, output and storage de

Quiz
•
8th Grade - Professio...
11 questions
Java Fundamentals

Quiz
•
Professional Development
10 questions
Untitled Quiz

Quiz
•
Professional Development
10 questions
Java Chapter 1

Quiz
•
Professional Development
10 questions
Web application security

Quiz
•
Professional Development
15 questions
ECDL/ICDL Computer Essentials

Quiz
•
KG - Professional Dev...
15 questions
JavaScript

Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade