Hello World in Java

I’m getting ahead of myself. I can’t wait for the book to arrive so I’ve been reading up the “WikiPedias” about Java and successfully setup Eclipse and ran a Hello World program. It’s not much, but it’s one step closer to kickin’ ass!

// Outputs "Hello, world!" and then exits
public class HelloWorld{

	//private static HelloWorld helloWorld;
	private String helloText = "Hello World";
	private String byeText = "Bye";

	public static void main(String[] args) {

		HelloWorld helloWorld = new HelloWorld();

	public HelloWorld()

	private void init()
		byeText += " World";

	private void byeWorld()

I trying to get the hang of the whole public static void main function; everything is making sense to me, it’s just that it’s a slow process.

This entry was posted in JAVA and tagged , , , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.