0
String cannot be converted to Char, but I never tried to
Compiler thinks char array is a string array. Why is this happening? https://code.sololearn.com/cdAfGP74GEV4/?ref=app
4 Respuestas
+ 2
Martin Taylor Thanks for the help!
+ 1
Martin Taylor So we cannot work with chars using arraylists or vice versa? That would mean we cannot change the length of a char array, right?
0
Martin Taylor Apparently there's still one more error at line 9, "unexpected type". Why is that?
0
Nevermind, I just found out how to turn char into character (primitive data into class).