How to add element to arraylist java

- How to add element to beginning of arraylist java
- How to add element to end of arraylist java
- How to add new element to arraylist in java
- Add element to arraylist java at index
- How to add element at particular index in arraylist java
- How to add element at first position in arraylist java
- How to add an element to an arraylist at specific index in java
- How to add element into arraylist in java
- How to add element in arraylist in javascript
- Add element to arraylist java one line
- How to add element in 2d arraylist in java