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

Understanding Typed Variables

To create even modest Java programs, we're going to need a way to store and manipulate information. Our chief resource, when doing this, is the variable, and that's what we're going to take a look at in this chapter. We'll look at the different data types in Java and how to use them in our programs. We'll also see the Math class library and one of its functions.

Specifically, we'll walk through the following topics:

  • Introduction to variables and why they're needed
  • Integer variables
  • Floating-point variables
  • The Math class library and its pow() function
  • Character variables
  • The String class and its methods
主站蜘蛛池模板: 曲松县| 响水县| 祁连县| 屯留县| 贞丰县| 闵行区| 漳平市| 文成县| 田东县| 敖汉旗| 安新县| 虹口区| 天祝| 泾源县| 澎湖县| 贡觉县| 隆回县| 岳西县| 镶黄旗| 鄂温| 宁乡县| 九台市| 南投县| 工布江达县| 固安县| 永昌县| 安义县| 八宿县| 丁青县| 神池县| 襄垣县| 房山区| 桓台县| 镇赉县| 沾益县| 临江市| 温宿县| 修武县| 永和县| 桦甸市| 甘洛县|