Not giving correct output!

Problem description:
We have already written a default code for each java file! Which prints Hello World!

But when i remove it and write something different program to run! It still shows hello world in output!

Expected behavior:

Actual behavior:

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):

Hi @vanshtyagi9012 , welcome to the forums!
Could you share the link to your repl?

1 Like