background preloader

Java

Facebook Twitter

Learn to Code: The Full Beginner's Guide. Learn How to Code Part I: Variables and Basic Data Types. Java For Beginners - Contents Page. Learn Java: Part One. Learn Java: Part One So you want to learn the basics of the fantastic language Java, but you don't want to search the Inter-webs looking for a great tutorial. Well you came to the right place, now may I present to you JAVA. Before We Begin You must have the latest version of Java Development Kit, or JDK. At the time of writing it is JDK 7. IDE (Integrated Development Environment) An IDE is near necessary for you to code in any language effectively.

Okay, now that you have JDK and Eclipse or an IDE of your choosing, lets get started. Step 1 Start Okay, open up Eclipse and if this is your first time you should get something like this, don't worry just hit "OK". Now we are going to go to File>New>Java Project, then for project name lets call it "HelloWorld". Then right click HelloWorld in the package explorer like so and then scroll over new then click class then call the class HelloWorld Note: public static void main(String args[]){ is needed for every class that is going to be executed.

See Also. Greenfoot Provides a Visual Playground to Help Learn Java. Java Game Development Video Tutorials.