+ 12

Please, don't you think there are two correct answers for this code

https://www.sololearn.com/post/484444/?ref=app

4th Aug 2020, 12:16 PM
ProfOduola🙏🇳🇬
ProfOduola🙏🇳🇬 - avatar
3 RĂ©ponses
+ 12
executer method not called
4th Aug 2020, 12:20 PM
Shahghasi Adil
Shahghasi Adil - avatar
+ 12
MiKoLađŸ”„3L17.4L16.2.5k=>L18 Here Executor is a method Because it has void keyword and we are not calling that method That's why no output. Check here https://code.sololearn.com/c518016aoojo/?ref=app
4th Aug 2020, 12:23 PM
AÍąJ
AÍąJ - avatar
+ 9
MiKoLađŸ”„3L17.4L16.2.5k=>L18 it's has no error program executes without any error you may seen another quiz same to that but Executor Method called like this code https://code.sololearn.com/cVU8Yw4pswWG/?ref=app
4th Aug 2020, 12:47 PM
Shahghasi Adil
Shahghasi Adil - avatar