Java Test7

Java Test7

University

40 Qs

quiz-placeholder

Similar activities

Linked List Quiz (BSIS 2-B)

Linked List Quiz (BSIS 2-B)

University

35 Qs

MIDTERM EXAM IN WEB DEV 101

MIDTERM EXAM IN WEB DEV 101

University

40 Qs

Day 7 - Collection, Multithreading

Day 7 - Collection, Multithreading

University

40 Qs

File Organization

File Organization

University

45 Qs

Collection Part-1

Collection Part-1

University

40 Qs

Data Structures & Algorithm

Data Structures & Algorithm

University

40 Qs

GIS Revision Unit I & II

GIS Revision Unit I & II

University

45 Qs

Java Test7

Java Test7

Assessment

Quiz

Computers

University

Hard

Created by

Prof. Harish T. Gwalani

FREE Resource

40 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which interface provides the foundation for the collection hierarchy?
Collection
List
Set
Map

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which class implements the List interface and allows duplicates?
HashSet
TreeSet
ArrayList
LinkedHashSet

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which collection class allows you to store elements in a key-value pair?
Set
List
Map
Queue

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which class maintains insertion order in Java?
HashMap
TreeMap
LinkedHashMap
HashSet

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not part of the Java Collection Framework?
HashMap
Vector
Enumeration
Array

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which class is synchronized in Java collections?
ArrayList
LinkedList
HashMap
Vector

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which collection class stores elements in sorted order?
ArrayList
TreeSet
HashSet
LinkedList

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?