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

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
主站蜘蛛池模板: 托克托县| 义乌市| 东台市| 逊克县| 阿拉善盟| 洛浦县| 东乌| 屏南县| 盐边县| 安仁县| 巴南区| 安溪县| 睢宁县| 义马市| 丰镇市| 无极县| 台安县| 长垣县| 布尔津县| 渝北区| 玛多县| 简阳市| 永和县| 集安市| 永定县| 江山市| 陇西县| 怀来县| 建阳市| 专栏| 和田市| 潼南县| 开封县| 行唐县| 金昌市| 电白县| 灵台县| 郸城县| 三都| 铜川市| 海盐县|