Go to Part 1 or Part 3
Open up a text editor(notepad) or notepad++.
Coding:[/b]]
Every thing in java starts with a class.
public static void main(String args[]) is your method header.
System.out outputs things to your computer.
Println is a built in method that will out prints a line out.(Computer, Database,etc.)
Everything else, we will learn more about in the future.
Code:
class runegear{
public static void main(String args[]){
System.out.println("Hello RuneGear!");
}
}
public static void main(String args[]) is your method header.
System.out outputs things to your computer.
Println is a built in method that will out prints a line out.(Computer, Database,etc.)
Everything else, we will learn more about in the future.
Saving it:[/b]]
Go to->File->New->Save as->Save as Java Source File.
Go to->File->New->Save as->Save as Java Source File.
Pictures[/b]]