Java General

Java General

9th - 12th Grade

34 Qs

quiz-placeholder

Similar activities

QUIZZ AIJ - BANDWIDTH

QUIZZ AIJ - BANDWIDTH

KG - Professional Development

30 Qs

Quiz PHP

Quiz PHP

11th Grade

30 Qs

ÔN TẬP GK2 TIN 11

ÔN TẬP GK2 TIN 11

11th Grade

30 Qs

Hardware Specifications

Hardware Specifications

6th - 12th Grade

35 Qs

统考练习题31_60

统考练习题31_60

12th Grade

30 Qs

Examen de Páginas Web 3°3 2025

Examen de Páginas Web 3°3 2025

12th Grade

30 Qs

Principles of IT-Chapter 5 Test

Principles of IT-Chapter 5 Test

7th - 12th Grade

30 Qs

Java Script

Java Script

9th Grade - Professional Development

39 Qs

Java General

Java General

Assessment

Quiz

Computers

9th - 12th Grade

Practice Problem

Medium

Created by

Lucian Țicoiu

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

34 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Java is called platform independent because of its byte codes which can run on any system irrespective of its underlying operating system.

True

False

2.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Which of these are wrapper classes?

Integer, Long, Byte, String

Integer, Long, Byte, Float

Double, Long, Byte, Float

Integer, String, Byte, Float

3.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

What makes a HashSet different from a TreeSet?

It does not maintain elements in an ordered way.

It does not allow the null object.

It permits the null object.

The elements are maintained in a sorted order.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which Set implementation allows duplicate values?

TreeSet

Sorted

LinkedHashSet

None

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A default constructor in Java is created automatically by the Java compiler when the programmer doesn't create any constructor in the entire program

True

False

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Can you call a constructor of a class inside another constructor?

No

Yes

Only if inherited

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the difference between equals() and == in Java?

Equals() method is defined in Object class in Java and used for checking equality of two objects defined by business logic.

“==” or equality operator in Java is a binary operator provided by Java programming language and used to compare primitives and objects

There is no difference

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?