Java program uses unchecked or unsafe operations
<p>I was writing a program in our activity in school and when I compile I get the following error:</p>

<p><a href="https://i.stack.imgur.com/LNvPK.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/LNvPK.png" alt="enter image description here"></a></p>

<p>I am also using notepad++ to compile
This is the code:</p>

<pre><code>import java.util.ArrayList;

import java.util.Collections;

public class Main {

    public static void main(String[] args) {

        ArrayList arrayList = new ArrayList();

        arrayList.add("A");

        arrayList.add("B");

        arrayList.add("C");

        arrayList.add("D");

        arrayList.add("E");

        System.out.println("Before Reverse Order: " + arrayList);

        Collections.reverse(arrayList);

        System.out.println("After Reverse Order: " + arrayList);

    }

}
</code></pre>

<p>I am new to learning java so any help is appreciated thank you!</p>