Please anyone tell why my code is not excuting 🥺 😞😔 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Please anyone tell why my code is not excuting 🥺 😞😔

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

9th Oct 2023, 12:18 PM
Ravi Chauhan
Ravi Chauhan - avatar
2 Answers
+ 4
you forgot to put String[] args on line 4 this is what you did: public static void main() this is what you should do: public static void main(String[] args)
9th Oct 2023, 1:11 PM
xrage killer
xrage killer - avatar
+ 1
Thanks 👍 bro it's working now
9th Oct 2023, 1:43 PM
Ravi Chauhan
Ravi Chauhan - avatar