zoukankan      html  css  js  c++  java
  • 3.20


    1、基本类型包装类
    2、System类
    3、Math类
    4、Arrays类
    ===============================================================================
    1 基本数据类型对象包装类概述
    *a.基本类型包装类的产生
    在实际程序使用中,程序界面上用户输入的数据都是以字符串类型进行存储的。而程序开发中,我们需要把字符串数据,根据需求转换成指定的基本数据类型,如年龄需要转换成int类型,考试成绩需要转换成double类型等
    *b.八种基本类型对应的包装类
    2 自动装箱和自动拆箱
    3 System类方法currentTimeMillis

    4 System类方法exit
    5 System类方法gc
    5.1 System类方法getProperties
    5.2 System类方法arraycopy
    6 Math类的方法
    7 Arrays工具类

  • 相关阅读:
    类和对象
    数组
    循环结构
    选择结构
    变量,数据类型和运算符
    什么是JDBC,JDBC的使用
    重拾JavaScript
    git使用日记
    Base包
    RabbitMQ(windows环境)下载与安装
  • 原文地址:https://www.cnblogs.com/lijun6/p/10544062.html
Copyright © 2011-2022 走看看