Can someone tell me how to fix illegal start of type in java | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can someone tell me how to fix illegal start of type in java

I need help to debug my code https://code.sololearn.com/cxPgNK0XqQsK/?ref=app

22nd Oct 2021, 7:54 AM
SHUBH SACHAR
SHUBH SACHAR - avatar
3 Answers
+ 3
delete { } after Scanner where } is at the end of the code
22nd Oct 2021, 9:00 AM
zemiak
+ 3
String s = Integer.toBinaryString(n); // Keep learning & happy coding :D
22nd Oct 2021, 10:44 AM
SoloProg
SoloProg - avatar
0
can you post your code please
22nd Oct 2021, 8:29 AM
Stefanoo
Stefanoo - avatar