Java List Errors | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Java List Errors

Can someone decode this? i really don't know what is my error it seems okay to me, thank you! https://code.sololearn.com/cj3Nd8yfB353/?ref=app

2nd Jan 2021, 1:16 PM
Lia Costa ✨
Lia Costa ✨ - avatar
2 Answers
+ 2
[ Why am seeing(visible) only 1 answer but it showing 13 answers..? It is solved? ] I found your program have Invalid charecters (see it showed as ex: \u00005 after compiling), remove all those white space charecter.. (it happens if you copy from any Web sourse..).. You may see it clearly if you open it in Web version by color variations.. Next one is you wrote main method declaration as wrong, used capital M in main. Use main instead of Main. public static void main(String []args) { Hope it helps..!
2nd Jan 2021, 7:50 PM
Jayakrishna 🇮🇳
+ 1
Well if it seems okay then there is no problem right? What this program do BTW? it's hard to read cause you wrote without indentation.
2nd Jan 2021, 1:53 PM
Ipang