Understanding Java Chapters 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21
Understanding Java: Chapter 6
These pages contain links to the programs that are developed in Chapter 6. The title of this chapter is: Using if statements to make decisions.
Sqrt1.java | A program with an if statement that has no else part |
Sqrt2.java | A program with an if statement that does have an else part |
QeIfs.java | Dealing with the special cases of a quadratic equation |
StringCompare.java | A program illustrating some possibilities when comparing two strings |
VariableScope.java | This program illustrates the scope of the identifier of a variable |
barry.cornelius@oucs.ox.ac.uk
.