java.util – Collections Framework-9

java.util – Collections Framework-9

Professional Development

147 Qs

quiz-placeholder

Similar activities

General Knowledge Quiz

General Knowledge Quiz

Professional Development

146 Qs

Ethical Issues in organisations

Ethical Issues in organisations

Professional Development

152 Qs

General Education

General Education

Professional Development

150 Qs

2 bài WIC khó gớm của chị Trang

2 bài WIC khó gớm của chị Trang

Professional Development

148 Qs

New Semester 3

New Semester 3

Professional Development

150 Qs

Verb Participle Gerund

Verb Participle Gerund

Professional Development

142 Qs

IOE 3- PART 9

IOE 3- PART 9

Professional Development

142 Qs

Pride and Patriotism BBA II

Pride and Patriotism BBA II

Professional Development

152 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?