List interface

List interface

Professional Development

17 Qs

quiz-placeholder

Similar activities

JavaScript ( review I )

JavaScript ( review I )

Professional Development

16 Qs

Java Quiz

Java Quiz

Professional Development

20 Qs

Web Development Technical Skills

Web Development Technical Skills

Professional Development

20 Qs

Assignment 3

Assignment 3

Professional Development

20 Qs

AWS Cloud

AWS Cloud

Professional Development

15 Qs

Java programming

Java programming

Professional Development

17 Qs

ITF - Quiz 7.4 - Graphic Device Interfaces

ITF - Quiz 7.4 - Graphic Device Interfaces

Professional Development

15 Qs

24/01/2024

24/01/2024

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?