
Predict the output

Quiz
•
Professional Development
•
Professional Development
•
Medium
Murugeswari.k Murugeswari.k
Used 9+ times
FREE Resource
17 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What will be the output of the program?
x = 0
x = 1
compile error
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output of the program?
count = 0
count = 2
count = 3
count = 4
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output of the program?
9 7 7 foo 7 7foo
72 34 34 foo34 34foo
9 7 7 foo34 34foo
72 7 34 foo34 7foo
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which one is correct?
If a is true and b is true then the output is "A && B"
If a is true and b is false then the output is "notB"
f a is false and b is true then the output is "ELSE"
If a is false and b is false then the output is "ELSE"
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the program?
Zero
Twelve
Default
Compile Error
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
finally
exception finished
finally exception finished
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following line of code is suitable to start a thread ?
Thread t = new Thread(X);
Thread t = new Thread(X); t.start();
X run = new X(); Thread t = new Thread(run); t.start();
Thread t = new Thread(); x.run();
Create a free account and access millions of resources
Similar Resources on Wayground
14 questions
Java Collections

Quiz
•
Professional Development
15 questions
python dictionary and set

Quiz
•
Professional Development
12 questions
Great Choice Realtor Quiz

Quiz
•
Professional Development
20 questions
Servlets

Quiz
•
Professional Development
15 questions
Quiz 2 Internship on Fundamentals of Python

Quiz
•
Professional Development
18 questions
GOOGLE ADS - TEST

Quiz
•
Professional Development
15 questions
Metrology, GD & T

Quiz
•
Professional Development
20 questions
fun codeing

Quiz
•
11th Grade - Professi...
Popular Resources on Wayground
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
10 questions
"LAST STOP ON MARKET STREET" Vocabulary Quiz

Quiz
•
3rd Grade
19 questions
Fractions to Decimals and Decimals to Fractions

Quiz
•
6th Grade
16 questions
Logic and Venn Diagrams

Quiz
•
12th Grade
15 questions
Compare and Order Decimals

Quiz
•
4th - 5th Grade
20 questions
Simplifying Fractions

Quiz
•
6th Grade
20 questions
Multiplication facts 1-12

Quiz
•
2nd - 3rd Grade