Exercises, examples and other material relating to training module J702. This topic is presented on public courses Learning to Program in Java
, Java Bootcamp
, Java Programming for the Web
In this module we write the simplest of programs - a program which displays the words "Hello World". This shows you how to use the editor, compiler and runtime environment that you'll be using in subsequent models and gives you a minimal framework on which to expand.
Related technical and longer articlesOverview of JavaHello Java World
|Articles and tips on this subject||updated|
|2859||Using java, javac, jar, and CLASSPATH - a simple example|
What Version of Java am I running? How do I edit, compile and run a Java program? What does this error message mean? How do I puts lots of classes into a single file, then run them from that file? How do I see what's in that file? How do I get Java to look for a class it needs in a series of ...
|2414||Hello World - a good traditional start to a Java course|
All programming courses, it seems, start with a "Hello World" program. It's almost a tradition and while I'm not one of those people who follows traditions just for their sake, traditions usually are founded on good reason. This one is, and we follow it!
When you come new to a programming language, ...
Examples from our training material
This module is available under an Open Training Notes License
for free download from http://www.training-notes.co.uk
Topics covered in this module
A first program explained.
Methods and classes.
Blocks and statement structure.
Declaring classes and methods.
Within a statement.
Commenting your source.
The code in operation.
A further program.
If you are looking for a complete course and not just a information on a single subject, visit our Listing and schedule
Well House Consultants specialise in training courses in
. We run
throughout the UK (and beyond for longer courses), and
at our training centre in Melksham, Wiltshire, England.
It's surprisingly cost effective to come on our public courses -
even if you live in a different
country or continent to us
We have a technical library of over 700 books on the subjects on which we teach.
These books are available for reference at our training centre. Also
available is the Opentalk
Forum for discussion of technical questions.