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

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
主站蜘蛛池模板: 巴塘县| 大厂| 清镇市| 肃北| 忻州市| 桦甸市| 黄梅县| 深州市| 栖霞市| 弋阳县| 嘉善县| 吐鲁番市| 南川市| 博白县| 东乡县| 乐业县| 大埔区| 蚌埠市| 淮阳县| 广德县| 阿克| 北宁市| 章丘市| 河源市| 双流县| 易门县| 海伦市| 元氏县| 兴隆县| 东兴市| 岳阳市| 泽普县| 赤壁市| 江西省| 达孜县| 株洲市| 沙洋县| 阿拉善左旗| 甘肃省| 海伦市| 八宿县|