Note: Main.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
What does this error message mean the code runs fine on my pc
mention the type in arraylist everywhere as ArrayList < String > result = new ArrayList < > ();