> For the complete documentation index, see [llms.txt](https://zcjian.gitbook.io/project/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://zcjian.gitbook.io/project/interview-questions/java-c.md).

# Java, C

## What is ArrayList (Java)?

ArrayList class extends AbstractList and implements the List interface.

ArrayList is a re-sizable array. In other words, it handles the resizing automatically.&#x20;

## What is Linked List(Java)?

LinkedList class extends AbstractSequentialList and implements the List, Deque and Queue interfaces.

## What is HashMap(Java)?

Hashmap extends AbstractMap to use a hash table.

&#x20;HashMap is non-synchronized

&#x20;HashMap allows one null key and multiple null values whereas Hashtable doesn’t allow any null key or value.
