Free download of sample chapters
To get a better idea of how well this book works, you can
download sample content in PDF format. Just click on the
selection you want to download below.
Chapter 1
How to get started with Java
If you're completely new to Java, chapter 1 gets you started
right by showing you how to install Java on your system, how
to use third-party tools like TextPad to work with Java, and
how to compile and run Java programs. By the end, you'll be
ready to start writing your own Java programs.
Chapter 2
Introduction to Java programming
To find out how quickly and easily you can learn Java from
this book, download and read chapter 2. Whether you're a programming
novice or have years of programming experience, you'll be
writing complete Java programs by the end of this chapter.
How the BigDecimal class helps Java get its arithmetic right
When you work with Java double values (that is, floating-point numbers) in business applications, you may run into problems when you round the results. That's because floating-point numbers can't represent all decimal numbers with complete accuracy. To get around this problem, Java provides the BigDecimal class. This excerpt from chapter 3 shows you how to use it.
|