So i'v been trying to create a very simple array of strings like so :
String[] painfull_lang = [ "word1","word2","word3"];
but i keep getting syntax errors
Cannot cast from [java.util.ArrayList] to [java.lang.String[]].
Stack:
[
"String[] painfull_lang = [ \"word1\",\"word2\",\"word3\" ...",
" ```
i also tried :
List test = Arrays.asList("");
List test = new ArrayList<>(Arrays.asList(""));