My java code output stuck at Hello World

Just started with as part of an assignment for my java introduction course and my code keeps getting the Hello World output. What have i done wrong
Repl link/Link to where the bug appears:

Screenshots, links, or other helpful context:

code snippet

Hey, @imanovskichatto welcome to the forums!

Can you please provide a link to the repl? This way it is easier for staff and members of the community to help you!

Also see this guide on how to share your code:

1 Like

Welcome to the forums, @imanovskichatto!
I’m not entirely sure why it doesn’t throw an error (maybe Java saves that last running file output?) but your file is not the file that Replit knows to run. You should change the name of to so that the program knows to run it.

Java is case-sensitive.

(please say class, not file, because renaming the file first causes another confusing error if the class is public)
it seems they’ve deleted their repl now and the only repl they have ( doesn’t have this issue

1 Like