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

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
主站蜘蛛池模板: 怀仁县| 镇江市| 凤山市| 垣曲县| 光山县| 福海县| 顺义区| 客服| 双鸭山市| 广东省| 江达县| 尖扎县| 阿拉善右旗| 江口县| 敦煌市| 友谊县| 庆元县| 双城市| 东乡族自治县| 井陉县| 收藏| 三江| 浦县| 邳州市| 巴彦县| 广水市| 五大连池市| 昭苏县| 尤溪县| 杭州市| 洛隆县| 深州市| 竹溪县| 满洲里市| 东兴市| 崇阳县| 福泉市| 宁城县| 利辛县| 大足县| 定结县|