by Andrew Cumming
This is an interactive java programming tutorial. You can run java programs and can verify the output of the programs. This java training covers the following topics in detail.
- Flags
In which draw colourful pictures using powerful java programming features.
- World Factbook I
In which we look at the countries of the world one at a time. We practice "if"
- Function
In which we calculate values
- Boxes
In which we practice conditions with two numbers
- World Factbook II
In which we use a loop to examine the CIA's World Factbook
- Strings
In which we manipulate and test strings.
- World Factbook II
In which we use an accumulating variable to count and sum.
- Using the documentation
In which we examine fonts.
- World Factbook III
In which we use the TreeMap Class.
- Bricks
In which we use for loops.
- Quilts
In which we practice a functional style of programming with immutable objects.
Reference: how to...
- Hello World
Some short, trival programs.
- Data types
Creating variables of different types. Converting between variable types.
- Control structures
We control program flow with while, for, foreach, if, return, break and other constructs
- Tests
We look at the different ways to test conditions.
- In-built function
We can use many functions provided by the core language. String and number functions primarily.
- In-built data structures
We can make use of arrays, hash tables and dates.
- Input and output
We explore the options for reading and writing data to files and to databases.
- Graphics
Drawing lines, polygons, strings and other shapes.
- Graphic User Interface
Buttons, text boxes that users can see and control.
- Programming techniques
Read More/Start Java TrainingAccumulating variables, recursion, function composition.