Introduction | Heaton Research

Introduction

Get the entire book!
Java for the Beginning Programmer

In Chapter 5 you will learn about:

  • Comparing Values
  • If/Else Statements
  • And/Or
  • Switch/Case

So far we have only accepted data from the user and displayed that data. Sometimes the data was processed slightly before being redisplayed, but no decisions were made based on that data. In this chapter you will see how your program can make decisions based on the data that the user enters.

Copyright 2005-2008 by Heaton Research, Inc.