Skip to content

Categories:

Lab 0

In this lab we complied and ran a simple Hello World program in Java Language. We began by typing it into Eclipse’s text editor, and then we ran it.  The purpose of this lab was basically to teach us the basic uses of Eclipse and how to create a class. The command that gave us the final output is the “System.out.println”

Code:

public class HelloWorld {

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

Screenshot:

Code

Output


0 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.



Some HTML is OK

or, reply to this post via trackback.