Exercises, examples and other material relating to training module J704. This topic is presented on public courses
Learning to Program in Java,
Java Bootcamp,
Java Programming for the Web
Learning to Program in Java - Writing Java programs for newcomers to programming.
This course introduces you to programming in the Java programming
language.
... http://www.wellho.net/course/sjfull.html [course] |
Java Bootcamp - An intense course on Java programming, Servlets and JSPs
This course introduces you to the Java programming
language, and its Internet ... http://www.wellho.net/course/bjfull.html [course] |
Java Programming for the Web - Learn to write server- or client-side applications in Java.
This course introduces you to the Java programming
language, ... http://www.wellho.net/course/jpfull.html [course] |
public class Forloop
{
public static void main(String[] args)
{
int factorial = 1;
for (int count=1; count < 11; count++)
... http://www.wellho.net/resources/ex.php4?item=j704/Forloop.java [code sample] |
public class Loop1
{
public static void main(String[] args)
{
float value_to_date = 0.0F;
int value_count = 0;
System.out.println("Adding ... http://www.wellho.net/resources/ex.php4?item=j704/Loop1.java [code sample] |
When writing a program, you'll often want to repeat a block of code, counting up through a table or performing a block of code with an input value (loop ... http://www.wellho.net/mouth/1220_for ... -etc-.html [short article] |
public class Day2a {
// =============================================================
public static void main(String [] args) {
short count = 0;
float ... http://www.wellho.net/resources/ex.php4?item=j704/Day2a.java [code sample] |
Unless otherwise specified, code runs from top to bottom, very much in the manner that you read a book. Conditional statements such as "if" allow the programmer to choose whether or not blocks of the code are to be skipped over, and loops such as "while" allow blocks of code to be repeated.
This topic is presented on public courses
Learning to Program in Java,
Java Bootcamp,
Java Programming for the Web
Examples from our training material
Pictures
Studying Java!
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
Booleans.
"if" statement.
"while" loop.
"for" loop.
Labels and breaks.
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.