Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in running solution for Arguments in learn java online #771

Open
curiouspratik opened this issue Dec 12, 2023 · 1 comment
Open

Error in running solution for Arguments in learn java online #771

curiouspratik opened this issue Dec 12, 2023 · 1 comment

Comments

@curiouspratik
Copy link

curiouspratik commented Dec 12, 2023

I ran the solution in https://www.learnjavaonline.org/en/Compiling_and_Running_with_Arguments
But did not get any output.
Screenshot 2023-12-12 at 1 51 53 AM

I feel this issue is arriving due to the fact that in some places the file is named Arguments.java whereas in code window the file name is supposed to be Main.java.
I found the file in tutorials folder and made some changes, but I am facing issues in running the code offline, can someone please help me with this?
I want to contribute to this repository.
Thanks in advance!

@abdulrehmana28
Copy link

Hi curiouspratik,
Yes in the exercise "Main.java" is the class name. So the problem is that in this exercise you have to give arguments. So for that run code through the command line and give an argument and that will display as output as shown in the image.
WindowsTerminal_5ypA1FqvLz

If you still having problems let me know :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants