List interface

List interface

Professional Development

17 Qs

quiz-placeholder

Similar activities

Assignment 3

Assignment 3

Professional Development

20 Qs

React

React

Professional Development

20 Qs

Android Study Jam session 3 "Scrollable List"

Android Study Jam session 3 "Scrollable List"

University - Professional Development

14 Qs

Data Structures

Data Structures

University - Professional Development

20 Qs

Linked List

Linked List

Professional Development

15 Qs

24/01/2024

24/01/2024

Professional Development

15 Qs

List in Java

List in Java

Professional Development

15 Qs

Quizizz - Session 16 - Collection Set

Quizizz - Session 16 - Collection Set

Professional Development

15 Qs

List interface

List interface

Assessment

Quiz

Computers

Professional Development

Hard

Created by

ANIL KUMAR

FREE Resource

17 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why is List an interface in Java?
A) Represents unordered data.
B) Provides positional access.
C) Allows only unique elements.
D) Inherits from ArrayList.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the List interface?
A) Ensure uniqueness of elements.
B) Allow unordered collections.
C) Maintain a sequence of elements.
D) Provide only sequential access.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Can you make a List of interface in Java?
A) No, interfaces cannot be listed.
B) Yes, using the List interface.
C) Only with ArrayList class.
D) List is not for collections.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the List interface and its classes in Java?
A) Defines only unordered collections.
B) Represents a static array.
C) Facilitates ordered collections.
D) Inherits from the Collection class.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are the types of List interface?
A) HashSet, TreeMap, TreeSet, HashMap
B) ArrayList, LinkedList, Stack, Vector
C) PriorityQueue, HashTable, LinkedHashMap, ArrayDeque
D) LinkedHashSet, HashList, ArrayStack, DoubleLinkedList

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Is ArrayList an interface?
A) Yes, ArrayList is an interface.
B) No, ArrayList is a class.
C) ArrayList is an extension of List.
D) ArrayList is a type of Set.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is Collection vs List interface?
A) Collection is a child of List.
B) Collection manages Lists only.
C) List offers index-based access.
D) List is a subset of Collection.

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?