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

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
主站蜘蛛池模板: 沽源县| 阜南县| 五指山市| 乌兰县| 平阳县| 西吉县| 龙川县| 永仁县| 天全县| 蚌埠市| 吴忠市| 荥经县| 德惠市| 昌宁县| 阳曲县| 隆昌县| 图片| 台东市| 彭泽县| 兰坪| 永仁县| 高邮市| 营山县| 奉节县| 朝阳市| 晋城| 金塔县| 神农架林区| 白银市| 镇沅| 西华县| 平泉县| 梅州市| 馆陶县| 三明市| 革吉县| 浠水县| 乐亭县| 建平县| 永兴县| 新密市|