Please, don't you think there are two correct answers for this code | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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 Answers
+ 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