Java Variables, Class and Objects
Quiz
•
Computers
•
University
•
Hard
ALDO STALIN J L
Used 14+ times
FREE Resource
Enhance your content in a minute
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which declaration will throw an error?
double num = 8;
int averageGrade = 89.7;
boolean done = false;
String done = "true";
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
which of the these variables allowed in java.
Local Variables
Instance Variables
Static Variables
All the above
none of the above
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
sum is 1020
sum is 30
airthmetic error
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
40
30
20
10
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
-10
10
error
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
predict output
Could not find or load main class sample
Could not find or load main class Hai
printed Hai
file name class name must me same
7.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
At the end of this fragment of code what is r1.count value?
10
-5
6
7
8
Create a free account and access millions of resources
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
20 questions
ByteWar Round 1
Quiz
•
University
20 questions
C Quest 2.0
Quiz
•
University
20 questions
PHP First Internal Practical Viva
Quiz
•
University
20 questions
CPA JYSS 2018 Prelims Paper 1
Quiz
•
7th Grade - Professio...
20 questions
Online Safety - Scams
Quiz
•
10th Grade - University
20 questions
Software Testing and Maintenance Quiz
Quiz
•
University
20 questions
Grade 7 Python Programming Quiz
Quiz
•
7th Grade - University
20 questions
Technical Quiz R1
Quiz
•
University
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
Discover more resources for Computers
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
7 questions
Different Types of Energy
Interactive video
•
4th Grade - University
20 questions
Slopes and Slope-Intercept Form
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
7 questions
Biomolecules (Updated)
Interactive video
•
11th Grade - University
20 questions
Winter/Holiday Trivia
Quiz
•
KG - University
10 questions
WINTER WIN Time - ELA - 12/9/2025
Quiz
•
KG - University
7 questions
Human Impact on Resources
Interactive video
•
4th Grade - University
