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|
|4350||Keyboard reader for Java programming newcomers|
I've added a new class of Keyboard Reader for our Java courses [here], for the earlier examples and exercises just after "Hello World". We want to be able to teach people to write a read - calculate - write program early on, but Java inputs require exception handling, and exceptions are objects, and ...
|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
Some modules are available for download
as a sample of our material or under an Open Training Notes License
for free download from [here]
Topics covered in this module
Basic program structure. First Output.
Sequence of statements. Comments.
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.