Collections

Collections

University - Professional Development

30 Qs

quiz-placeholder

Similar activities

C++

C++

University

25 Qs

Kuis Internet1 L2324

Kuis Internet1 L2324

University

25 Qs

HTML and CSS cơ bảng

HTML and CSS cơ bảng

University

25 Qs

Jude software Exam

Jude software Exam

2nd Grade - University

25 Qs

Quiz on Operating System Basics

Quiz on Operating System Basics

University

25 Qs

2.7 System Software

2.7 System Software

12th Grade - University

25 Qs

ITElec1_Recitation_1

ITElec1_Recitation_1

University

25 Qs

FUNCTIONS - FILES - OOPs CONCEPTS

FUNCTIONS - FILES - OOPs CONCEPTS

Professional Development

25 Qs

Collections

Collections

Assessment

Quiz

Computers

University - Professional Development

Medium

Created by

Lejrat Mesi

Used 8+ times

FREE Resource

AI

Enhance your content in a minute

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

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

-Contains no duplicate elements.

-Can contain at most one Null value.

-Elements are not key-value pairs.

-Accessing an element can be almost as fast as performing a similar operation on an array.


Which of these classes provides the specified features?

LinkedList

TreeMap

HashSet

LinkedHashMap

HashMap

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following statement about Set is true?

A HashSet cannot have a null value.

Set allows duplicate values.

Set allows null values but only single occurrence.

Set extends the Java.util.collection interface.

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

{1=C, 2=JavaEE, 4=Python, 3=PHP}

{1=C, 2=JavaSE, 3=Python, 4=PHP}

{1=C, 2=JavaEE, 3=Python, 4=PHP}

{1=C, 2=JavaSE,2=JavaEE, 3=Python, 4=PHP}

NullPointerException

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

{null=null, a=null, b=JavaSE, c=PHP, d=Python}

{a=null, b=JavaSE, c=PHP, d=Python}

{b=JavaSE, c=PHP, d=Python}

Compilation Fails

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

4

5

6

12

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

-Entries are not organized as key/value pairs.

-Duplicate entries are rejected.

Which interface of the java.util package offers the specified behavior?

List

Map

Set

None of the above

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

[Computer, Network, Networks, Programming, Security]

[Computer, Programming, Network, Networks, Programming, Security]

[Computer, Programming, Computer, Networks, Network, Security]

[Computer, Networks, Network, Programming, Security]

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?