
Java round 2
Quiz
•
Computers
•
University
•
Practice Problem
•
Hard
San Saravanan
Used 1+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output of the following Java program?
NaN
Infinity
0.0
all of the mentioned
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of the following Java program?
10
5
15
The code will not compile due to syntax error
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of the following code snippet?
true
false
It will cause a compilation error
It will throw a runtime exception
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of the following Java program?
10 9 8 7 6 5 4 3 2 1
0 1 2 3 4 5 6 7 8 9 10
1 2 3 4 5 6 7 8 9 10
The code will not compile due to a syntax error.
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of the following program?
10
11
9
Compile-time error
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output of the following Java program?
The program results in a compiler error (“ambiguous overload”).
long
Integer
int
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of the following code snippet?
Programming
Java
Java Programming
Compile-time error
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?
Similar Resources on Wayground
10 questions
Peranti Input Ouput
Quiz
•
University
15 questions
Chapter 8 - Memory Management Strategies
Quiz
•
University
10 questions
Website Usability and UX
Quiz
•
University
10 questions
Hands-on Modul 3
Quiz
•
University
10 questions
Visual Basic 2010
Quiz
•
8th Grade - University
10 questions
CS100||MsWord
Quiz
•
University
11 questions
Types of Mass Media
Quiz
•
10th Grade - Professi...
10 questions
Software dan Hardware
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
