PreTest - JAVA

PreTest - JAVA

University

65 Qs

quiz-placeholder

Similar activities

FSWD Ajax React PHP Jquery

FSWD Ajax React PHP Jquery

University

66 Qs

Quiz Pemrograman Java (Bpro)

Quiz Pemrograman Java (Bpro)

University

60 Qs

BSIT2A Long Quiz OOP2

BSIT2A Long Quiz OOP2

University

60 Qs

Mock test - Data Structures

Mock test - Data Structures

University

60 Qs

DAta Structure-unit 1&2

DAta Structure-unit 1&2

University

61 Qs

JAVA QUIZZ-3

JAVA QUIZZ-3

University

60 Qs

Salesforce Test 1 For Ranking

Salesforce Test 1 For Ranking

University

68 Qs

GravenQUIZ

GravenQUIZ

KG - University

60 Qs

PreTest - JAVA

PreTest - JAVA

Assessment

Quiz

Computers

University

Hard

Created by

Prof. Karale

Used 5+ times

FREE Resource

65 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the size of int in Java?
2 bytes
4 bytes
8 bytes
Depends on OS

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following is not a Java keyword?
static
Integer
void
new

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What will 10 / 3 return in Java?
3.333
3
0
3.0

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which access modifier makes a member visible to all classes?
protected
private
default
public

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of these is not a primitive type?
int
float
String
boolean

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the default value of a boolean variable?
true
false
0
null

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which loop is guaranteed to execute at least once?
for
while
do-while
foreach

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?