Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 1 addition & 34 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,34 +1 @@
# Hello world with Java :coffee:

This is a simple **"Hello world"** done with **Java** programming language.

## Source code

This is the source code of the program:

```java
public class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello world!");
}
}
```

Notice that `System.out.println("Hello world!");` shows the string `"Hello world!"` on the screen.

## Compile program

To compile the "Hello World" program, type the following:

```console
javac HelloWorld.java
```

## Excute the program

To execute the program, type this:

```console
java HelloWorld
```

git commit -m "Update README for assignment"