Why cant eclipse compile this code? Some how it says "the public type program must be defined in it's own file". At line 22 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

Why cant eclipse compile this code? Some how it says "the public type program must be defined in it's own file". At line 22

https://code.sololearn.com/cUNOq3BpTIui/?ref=app

17th Mar 2018, 10:32 AM
James Torgbede Agboada
James Torgbede Agboada - avatar
1 Answer
+ 4
Thanks. really thought my compiler was faulty... Thanks champ
17th Mar 2018, 6:56 PM
James Torgbede Agboada
James Torgbede Agboada - avatar