4
4
4ainik2017-01-08 00:34:52
Java
4ainik, 2017-01-08 00:34:52

List in java is a linked list?

Is List in java a linked list or a contiguous block of memory like a vector in C++?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
F
Frozen Coder, 2017-01-08
@frozen_coder

java.util.List is an interface. Its linked list implementation is LinkedList.
Read more:
https://habrahabr.ru/post/162017/
https://habrahabr.ru/post/127864/
https://habrahabr.ru/post/128269/
https://habrahabr.ru/post/237043/

I
illuzor, 2017-01-08
@iLLuzor

LinkedList is a linked list

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question