+ 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
2 Answers
+ 4
Thanks. really thought my compiler was faulty... Thanks champ
17th Mar 2018, 6:56 PM
James Torgbede Agboada
James Torgbede Agboada - avatar