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

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
主站蜘蛛池模板: 精河县| 桐梓县| 渝北区| 晋江市| 宣威市| 叙永县| 如皋市| 富蕴县| 绥芬河市| 彰化市| 美姑县| 扶余县| 汉阴县| 响水县| 泸州市| 和静县| 龙山县| 乡宁县| 丰镇市| 乌拉特中旗| 荔波县| 弥勒县| 来凤县| 额尔古纳市| 洪雅县| 夏邑县| 阳高县| 桐乡市| 青河县| 平远县| 澎湖县| 鸡西市| 项城市| 吴忠市| 南漳县| 商洛市| 南开区| 汶上县| 巴彦淖尔市| 库尔勒市| 遂平县|