
Dom.Mod.Prelim Exam OOP Java Programming
Quiz
•
Computers
•
University
•
Practice Problem
•
Medium
diana diana
Used 2+ times
FREE Resource
Enhance your content in a minute
55 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which of the following is a valid variable name in Java?
2value
value_2
value-2
@value
2.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
What is the default value of an int variable in Java?
0
null
undefined
-1
3.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which keyword is used to declare a constant variable in Java?
const
static
final
constant
4.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
What is the size of a float variable in Java?
4 bytes
2 bytes
8 bytes
1 byte
5.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which of the following is not a primitive data type in Java?
int
boolean
String
char
6.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
How do you declare a double variable named price?
double = price;
price double;
double price;
price = double;
7.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which operator is used for assignment in Java?
==
:=
=
=>
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
50 questions
kuis Jaringan Internet
Quiz
•
9th Grade - University
50 questions
CS8691 - Artifical Intelligence - IAT #1
Quiz
•
University
60 questions
K11 - ĐỀ CƯƠNG
Quiz
•
11th Grade - University
53 questions
System Analysis and Design (Prelim Exam)
Quiz
•
University
55 questions
Microsoft Azure Fundamentals AZ-900 ENG #1
Quiz
•
University - Professi...
50 questions
ict 1-50
Quiz
•
University
50 questions
ICT 151-200
Quiz
•
University
60 questions
JavaScript -MIDTERM EXAM
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
