Hello world run time error

Problem description:
When ever I write a long code in Replit using java langauge the output is always Hello world only im using mobile

Expected behavior:
It should print what I have said

Actual behavior:
It prints only hello world for ping programs

Steps to reproduce:

Bug appears at this link:

Device (Android, iOS, NA leave blank):
Desktop app version (Avatar menu->“Version”) or NA:
Plan (Free, Replit Core):

:wave: Welcome to the fourm @Mohammed-Abdu45!

Are you writing code in the main.java file? If not, please use that file!

1 Like