Murach's Beginning Java 2, SDK 1.4

This chapter shows how to format numbers, catch exceptions, code static methods, and view the documentation for the Java 2 API.

Chapter 3 Java language essentials (part 2)
Two more classes for working with numbers 80
How to use the Math class 80
How to use the NumberFormat class 82
How to use try/catch statements 84
How to code try/catch statements 84
How to use nested while loops to validate input data 86
How to create and use static methods 88
How to create a static method 88
How to use a static method to validate input data 90
Two more appications 92
The Future Value application 92
The Book Order application 96
How to use the documentation for the Java API 100
How to install the API documentation 100
How to navigate the API documentation 102
Perspective 104
t




Murach's Beginning Java 2

Learn more about this book

Add this book to your cart


See the Java 1.5 edition