Login


Lost your password?

Don't have an account ?
Register (It's FREE) ×
  


Shop
Java All : Beginning to Program
Concept Notes and Resources
Concept Learning Code Sheets

Hello World #1353

Simplest method to output a text string to standard output device

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

Hello World 1 #535

This is a program to learn console output with and without newline.

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

Hello World 2 #551

This is a program that prints hello world! given as two separate words.

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

Hello World with Comments #553

This is a program that will tell us the use of comments in a code.

/* A program to show the purpose of comments
Author: ComputerSirKiClass
*/
class HelloWorldC
{
public static void main(String[ ] args)
{
System.out.println("Hello World"); //Method for output to console
}

}


Exam Questions
Quizzes

Concept Notes:3  Code Sheets:4  Exam Questons:6  Quizzes:2
Back