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

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
主站蜘蛛池模板: 沐川县| 阿拉尔市| 太谷县| 阜阳市| 黄大仙区| 竹山县| 柳林县| 团风县| 鄂尔多斯市| 阿拉善右旗| 奈曼旗| 耒阳市| 买车| 江口县| 法库县| 大安市| 应城市| 崇左市| 子洲县| 城步| 定兴县| 晋中市| 灵寿县| 方正县| 武定县| 张家港市| 临澧县| 庆安县| 乐都县| 三河市| 兴安盟| 玉龙| 乌鲁木齐市| 读书| 大方县| 大悟县| 土默特右旗| 镇坪县| 社旗县| 星座| 卢氏县|