-
Notifications
You must be signed in to change notification settings - Fork 17
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
Java Hello, world! #12
base: master
Are you sure you want to change the base?
Conversation
public class hello { | ||
|
||
public static void main(String[] args) { | ||
System.out.println("Hello, world!"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Output should be hello, world
(lowercase, no punctuation)
System.out.println("Hello, world!"); | |
System.out.println("hello, world"); |
## Compilation | ||
|
||
```sh | ||
make hello |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should just be make
I think:
make hello | |
make |
## Usage | ||
|
||
```sh | ||
./hello |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the usage should be java hello
./hello | |
java hello |
Pull Request Template
Description
Added hello world using java
Checklist
Makefile
if applicable..github/workflows/test.yml
file to include the new language in the list of languages to test.Related Issue
Please link to any related issues here.
Type of Change
How Has This Been Tested?
I ran the program and Hello, world! was printed
Screenshots (if applicable)
If applicable, add screenshots to help explain your changes.
Additional Information
Add any other information about your pull request here.
Contributing
To contribute to this project, please see the CONTRIBUTING.md file.
License
This project is licensed under the MIT License. For more information, please see the LICENSE file.