Tutorials / Java Tutorials

Start Here - Setting Up Windows

Tuesday 19th, September 2006

Setting Up Windows for Java Development
You've just installed the Java SDK. What next? Follow our series of tutorials to see what can be done with Java.

As with all our tutorials, they are free to anyone who wants them. If you want to use them for your school, college or university, then please feel free. Can you just drop us a line to say who you are? All we ask is that the sloankelly.net logo and any copyright information are not removed.

Right click here to download the tutorial. Click Save Target As...

Hello World

Tuesday 19th, September 2006

Setting Up Windows for Java Development
Our first program. The traditional "Hello, World!". Contains information on how java works; editing code, compiling and running a simple Java applet.

Right click here to download the tutorial. Click Save Target As...

Making Decisions

Tuesday 19th, September 2006

Making Simple, Binary and Multiple Decisions
In this tutorial we look at how to make decisions to determine program flow; what lines should be run? We also take a look at getting input from the user using the standard input device (stdin). Commonly called a keyboard on most systems!

Right click here to download the tutorial. Click Save Target As...

Loops

Tuesday 19th, September 2006

Repeating Code Based Upon Conditions
In the last tutorial of this section, we take a look at looping the code. As we know, program code will execute one line after the other until it hits the end of the program. How to we keep repeating the program until the user decides they want to quit?

Right click here to download the tutorial. Click Save Target As...

Activity for Slides 1-4

Tuesday 19th, September 2006

Activity Sheet for Slides 1-4
Test your knowledge.

Right click here to download the tutorial. Click Save Target As...

Variables

Tuesday 24th, September 2006

Variables
Variables. Where would we be without them? Variables are used to temporarily store data while the program is running. Information is contained within a named reference - the variable name. A variable can only store one type of data in its lifetime, so for example custID might hold an integer (whole number) representing the customer's number.

Right click here to download the tutorial. Click Save Target As...

Methods

Tuesday 24th, September 2006

Methods
Everything in Java is a class. The sub-functions / modules within a class are called methods. These are "doing" things. They allow the object's callers to perform certain actions, as well as allowing the object to internally (privately) run functionality.

Right click here to download the tutorial. Click Save Target As...

Objects - Part 1

Tuesday 24th, September 2006

Objects - Part 1
The theory of objects and how that is applied to Java. Part 1.

Right click here to download the tutorial. Click Save Target As...

Objects - Part 2

Tuesday 24th, September 2006

Objects - Part 2
The theory of objects and how that is applied to Java. Part 2.

Right click here to download the tutorial. Click Save Target As...