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

Gerunds and Participles

Gerunds and Participles

Professional Development

142 Qs

Participles vs Gerunds

Participles vs Gerunds

Professional Development

142 Qs

Luda's CELPIP Grammar/Vocab Quiz 1

Luda's CELPIP Grammar/Vocab Quiz 1

Professional Development

145 Qs

Pharmacy Lesson 20B Bot

Pharmacy Lesson 20B Bot

University - Professional Development

146 Qs

SAT Vocabulary 16

SAT Vocabulary 16

Professional Development

151 Qs

Gerunds and participles

Gerunds and participles

Professional Development

142 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

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
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?