Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

srinfotechbatch4/hello-world-java

Open more actions menu
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
6 Commits
 
 
 
 
 
 

Repository files navigation

Hello world with Java ☕

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

Source code

This is the source code of the program:

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

Batch4

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:

javac HelloWorld.java

Excute the program

To execute the program, type this:

java HelloWorld

About

Hello world with Java

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Java 100.0%
Morty Proxy This is a proxified and sanitized view of the page, visit original site.