Computer Science, asked by TheHeartBrokenKid, 6 hours ago

Which of the following data type is shown below? L=[2,54,’javatpoint’,5]

Dictionary
List
Tuple

Answers

Answered by stithapragnamalla
2

Answer:

dictionary data type is shown

Answered by shilpa85475
1

List.

Since in List the type of data is not fixed, it can be numbers, strings, etc.

In Java language, a is considered as an ordered collection of objects.

In which it allows duplicate value.

Explanation:

The list in Java have the index-based methods to insert, update, delete and search the elements he elements in the list. One can also store the null elements in the list.

In the java.util package the List interface is found.  List is generated through ListIterator interface. On can iterate or insert the list according to forward and backward directions. The list interface has the classes like  ArrayList, LinkedList, Stack and Vector.

Similar questions