#java
How to fix "Type mismatch: cannot convert from List<String> to List<String>"
@Acer According to the usage examples Arrays.aslist() should have string as parameters instead of String[] (that is List<String>).Maybe you can try Arrays.aslist("a", "b", "c")
QOTO: Question Others to Teach Ourselves An inclusive, Academic Freedom, instance All cultures welcome. Hate speech and harassment strictly forbidden.
@Acer According to the usage examples Arrays.aslist() should have string as parameters instead of String[] (that is List<String>).
Maybe you can try Arrays.aslist("a", "b", "c")