Search Header Logo

Java Test7

Authored by Prof. Harish T. Gwalani

Computers

University

40 Questions

Java Test7
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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

Access all questions and much more by creating a free account

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

Already have an account?