HelloExampleShow

From Java Example Source Code

Jump to: navigation, search

Contents

[edit] Overview - HelloExampleShow

This is a simplest java program.

[edit] Source Code of HelloExampleShow

File: HelloExamleShow.java

/**
 * @author Code Panda
 * Copyright (C) 2008 Java ExampleShow (http://java.exampleshow.com)
 *
 * This code is free software; you can redistribute it and/or modify it.
 * However, this header must remain intact and unchanged. Additional
 * information may be appended after this header. Publications based on
 * this code must also include an appropriate reference.
 * 
 * This code is distributed in the hope that it will be useful, but 
 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 
 * or FITNESS FOR A PARTICULAR PURPOSE.
 *
 */
 
public class HelloExampleShow {
 
	public static void main(String[] args) {
 
		System.out.println("Hello, ExampleShow!");
 
	}
 
}

[edit] What Result You Can Get

Run the program, you will get:


Hello, ExampleShow!


[edit] How to Run this Java Example Program

We recommend running this Java example program with Eclipse.

For assistance in working with Eclipse, please see How to Run Java Program with Eclipse.

It's fairly easy.

Personal tools