Java Variables, Class and Objects

Quiz
•
Computers
•
University
•
Hard
ALDO STALIN J L
Used 11+ times
FREE Resource
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
Similar Resources on Wayground
25 questions
Introduction to Java

Quiz
•
University
30 questions
CS 211 - Midterm Review

Quiz
•
University
21 questions
OOP - session 2.1 - JVM, Array, Stack

Quiz
•
University
20 questions
OOP

Quiz
•
University
20 questions
JDBC

Quiz
•
University
22 questions
c++

Quiz
•
University
25 questions
Java Quiz

Quiz
•
University
20 questions
Code Junction 4

Quiz
•
University
Popular Resources on Wayground
15 questions
Hersheys' Travels Quiz (AM)

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

Quiz
•
6th - 8th Grade
30 questions
Lufkin Road Middle School Student Handbook & Policies Assessment

Quiz
•
7th Grade
20 questions
Multiplication Facts

Quiz
•
3rd Grade
17 questions
MIXED Factoring Review

Quiz
•
KG - University
10 questions
Laws of Exponents

Quiz
•
9th Grade
10 questions
Characterization

Quiz
•
3rd - 7th Grade
10 questions
Multiply Fractions

Quiz
•
6th Grade