---
title: "How to make a new List in Java"  
description: "How to make a new List in Java"  
author: "Anonymous User"  
published: 2015-08-04  
updated: 2015-08-04  
canonical: https://www.mindstick.com/forum/33393/how-to-make-a-new-list-in-java  
category: "java"  
tags: ["java", "collection", "list"]  
reading_time: 1 minute  

---

# How to make a new List in Java

We create a Set as:

```
Set myset = new HashSet()
```

How do we create a List in [Java](https://www.mindstick.com/articles/12214/web-development-company-in-india-laid-on-the-foundation-of-concrete-java-programming)?

## Replies

### Reply by Anonymous User

```
List myList = new ArrayList();
```

or with generics

```
List<MyType> myList = new ArrayList<MyType>();
```


---

Original Source: https://www.mindstick.com/forum/33393/how-to-make-a-new-list-in-java

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
