
Dom.Mod.Prelim Exam OOP Java Programming

Quiz
•
Computers
•
University
•
Medium
diana diana
Used 2+ times
FREE Resource
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?
==
:=
=
=>
Create a free account and access millions of resources
Similar Resources on Wayground
50 questions
DBMS-CCE 1_B.Sc-4_13-02-25

Quiz
•
University
50 questions
basis data

Quiz
•
University
52 questions
DP 900

Quiz
•
University
50 questions
ICT 51-100

Quiz
•
University
50 questions
Final Exam : PHP V.1

Quiz
•
University
50 questions
Fundamentos de Bancos de Dados

Quiz
•
2nd Grade - University
50 questions
VB.Net - OOP

Quiz
•
University
50 questions
codinggss

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade