java.util – Collections Framework-9

java.util – Collections Framework-9

Professional Development

147 Qs

quiz-placeholder

Similar activities

Gerunds and Participles Phrases

Gerunds and Participles Phrases

Professional Development

142 Qs

Participle and Gerund

Participle and Gerund

Professional Development

142 Qs

Cam 19 - Test 4

Cam 19 - Test 4

Professional Development

144 Qs

SAT Vocabulary 16

SAT Vocabulary 16

Professional Development

151 Qs

Luda's CELPIP Grammar/Vocab Quiz 1

Luda's CELPIP Grammar/Vocab Quiz 1

Professional Development

145 Qs

java.util – Collections Framework-9

java.util – Collections Framework-9

Assessment

Quiz

English

Professional Development

Hard

Created by

ANIL KUMAR

Used 18+ times

FREE Resource

AI

Enhance your content in a minute

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

147 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of these standard collection classes implements a dynamic array?
AbstractList
LinkedList
ArrayList
AbstractSet

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of these class can generate an array which can increase and decrease in size automatically?
ArrayList()
DynamicList()
LinkedList()
MallocList()

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of these method can be used to increase the capacity of ArrayList object manually?
Capacity()
increaseCapacity()
increasecapacity()
ensureCapacity()

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of these method of ArrayList class is used to obtain present size of an object?
size()
length()
index()
capacity()

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of these methods can be used to obtain a static array from an ArrayList object?
Array()
covertArray()
toArray()
covertoArray()

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of these method is used to reduce the capacity of an ArrayList object?
trim()
trimSize()
trimTosize()
trimToSize()

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What will be the output of the following Java program? https://gyazo.com/33f13b49749f6661b34ad51e60ca84b0

[A, B, C, D]

[A, D, B, C]

[A, D, C]

[A, B, C]

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?