Java Programming Quiz

Java Programming Quiz

University

36 Qs

quiz-placeholder

Similar activities

JAVA FUNDAMENTALS ASSESSMENT 1

JAVA FUNDAMENTALS ASSESSMENT 1

University

40 Qs

Java Midterm

Java Midterm

University

39 Qs

Techno Excellent

Techno Excellent

University

40 Qs

2902032025

2902032025

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

CodeChef (Secret Snippet)

CodeChef (Secret Snippet)

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?