Exercises, examples and other material relating to training module J715. This module is presented on
Private Courses and
Specially Run Courses only
It's a good idea to initialise your variables directly before you use them for the first time if you're going to use them as accumulators.
By accumulator ... http://www.wellho.net/mouth/1181_Goo ... ables.html [short article] |
If I start recalling a "Goons" sketch, then I'll show my age .... but never mind. It was a RERUN that I saw ;-)
Spike Milligan is counting votes at ... http://www.wellho.net/mouth/836_Buil ... th-OO.html [short article] |
public class P3 {
String Name;
String Postcode;
String County;
String Area;
P3 () {
}
public static P3 make(String Incoming) {
if ... http://www.wellho.net/resources/ex.php4?item=j715/P3.java [code sample] |
public abstract class Place {
String Name;
String Postcode;
String County;
String Area;
Place () {
}
public static Place make(String Incoming) ... http://www.wellho.net/resources/ex.php4?item=j715/Place.java [code sample] |
import java.io.*;
import java.util.*;
public class MF {
public static void main(String [] args) {
Hashtable info = read_data("postcodes");
... http://www.wellho.net/resources/ex.php4?item=j715/MF.java [code sample] |
import java.io.*;
public class PF1 {
public static void main(String [] args) {
File Source = new File("postcodes");
if (! Source.exists()) ... http://www.wellho.net/resources/ex.php4?item=j715/PF1.java [code sample] |
public class P4 {
String Name;
String Postcode;
String County;
String Area;
P4 () {
}
public static P4 make(String Incoming) {
if ... http://www.wellho.net/resources/ex.php4?item=j715/P4.java [code sample] |
You've learnt the fundamentals of Java Ð the language itself, the structure of classes and packages, and also the use of the utility classes in java.util. Now it's time to put all the fundamental elements together in a complete example. This module is written as an exercise, with a completed sample answer.
This module is presented on
Private Courses and
Specially Run Courses only
Examples from our training material
Background information
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
Sample Answer.
Complete learning
If you are looking for a complete course and not just a information on a single subject, visit our
Listing and schedule page.
Well House Consultants specialise in training courses in
Java,
Python,
Perl,
PHP, and
MySQL. We run
Private Courses throughout the UK (and beyond for longer courses), and
Public Courses 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.