0

[Solved]Can anyone help me with this Java code?

Hi, I cant understand why there is no output : https://code.sololearn.com/cd30PofvX93H/?ref=app Please help me, thank you.

14th Jun 2021, 4:12 PM
ltsRoy
ltsRoy - avatar
4 Antworten
+ 1
https://code.sololearn.com/cN24kiaWge7N/?ref=app You forgot to call your accept function.
14th Jun 2021, 4:16 PM
Eashan Morajkar
Eashan Morajkar - avatar
+ 1
Program starts in main() public static void main(String[] args) { new Program().accept(); } void accept() { ... //Program op = new Program(); //op. Prime(m);
14th Jun 2021, 6:44 PM
zemiak
0
14th Jun 2021, 6:58 PM
ltsRoy
ltsRoy - avatar
0
Welcome It's Roy
15th Jun 2021, 8:26 AM
Eashan Morajkar
Eashan Morajkar - avatar