Java Programming Quiz

Java Programming Quiz

University

36 Qs

quiz-placeholder

Similar activities

AP CS A unit 1

AP CS A unit 1

11th Grade - University

36 Qs

Exception in Java

Exception in Java

University

41 Qs

Latihan 1 PBO XI RPL 2

Latihan 1 PBO XI RPL 2

10th Grade - University

40 Qs

Unit 1 APCSA

Unit 1 APCSA

9th Grade - University

32 Qs

3.2 Data Type, Operator & Expression in Java (part 1)

3.2 Data Type, Operator & Expression in Java (part 1)

University

35 Qs

Test

Test

University

35 Qs

AP Java Exam

AP Java Exam

8th Grade - University

35 Qs

Java Programming Quiz

Java Programming Quiz

Assessment

Quiz

Computers

University

Easy

Created by

Tun Tun

Used 1+ times

FREE Resource

36 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct path of the ArrayList class?

java.lang.ArrayList

java.util.ArrayList

java.list.ArrayList

java.collections.ArrayList

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Java is a _________ language.

medium typed

weakly typed

strongly typed

dynamically typed

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is not a primitive data type in Java?

float

double

enum

int

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is NOT a primitive data type?

int

double

void

boolean

5.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Which of these are primitive data types?

int, int[]

float, double

All of these

char, String

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is NOT a primitive data type?

int

double

String

char

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is the correct output of the code below? int x = 5 / 2; System.out.println(x);

2.5

Compilation error

5 / 2

2

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?