官术网_书友最值得收藏!

Introduction

Business applications have lots of special-case conditions. Such conditions may include finding changes in allocation rules starting at a particular year, or handling different types of employees differently based on their designation. To code for such special cases, you will require conditional logic. You basically tell the computer to perform a set of actions when a particular condition is met.

Before we delve into advanced Java topics, you need to know the basics of Java syntax. While some of this material might seem simple, you'll find you need to use the techniques and syntax shown in this chapter repeatedly in your applications.

As you've seen in Chapter 1, Getting Started, Java's syntax borrows heavily from C and C++. That's true for conditional statements that control the flow of your programs as well. Java, like most computer languages, allows you to do this. This chapter covers the basic syntax of the Java language, especially ways in which you can control the flow of your applications.

This chapter, and the next one on object-oriented programming, will give you a good working knowledge of how Java programs work. You'll be able to take on more advanced APIs and topics. Work your way through this basic material, and you will be ready to move on to the more complex code to come.

主站蜘蛛池模板: 永兴县| 邯郸市| 咸丰县| 津市市| 左贡县| 光泽县| 沙河市| 连江县| 贵阳市| 广平县| 柯坪县| 明水县| 炎陵县| 金川县| 桑日县| 金川县| 莱芜市| 望城县| 沈阳市| 马关县| 云阳县| 民乐县| 庆元县| 浦城县| 安陆市| 大悟县| 衡阳市| 溧阳市| 连云港市| 谷城县| 平原县| 璧山县| 余干县| 瓮安县| 磐石市| 武安市| 松桃| 松原市| 叶城县| 台前县| 革吉县|