Unit-1 Java Introduction

Unit – 1 HelloWorld Example – Source code

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
import java.*;
class HelloWorld
{
public static void main(String args[])
{
System.out.println("Hello World");
}
}
import java.*; class HelloWorld { public static void main(String args[]) { System.out.println("Hello World"); } }
import java.*;
class HelloWorld
{
public static void main(String args[])
{
System.out.println("Hello World");
}
}

Unit – 1 HelloWorld Output: