包装类 的用法
2016-02-14 10:04
267 查看
package com.MyArray; import org.omg.CORBA.INTERNAL; /** * 测试包装类的基本用法 * @author Administrator * */ public class Test01 { public static void main(String[] args) { Integer i = new Integer(1000); System.out.println(Integer.MAX_VALUE); System.out.println(Integer.toHexString(i)); Integer i2 = Integer.parseInt("234"); Integer i3 = new Integer("300"); System.out.println(i3.intValue()); System.out.println(i.intValue()); } }
相关文章推荐
- asp.net中邮箱发送
- [BZOJ2790][Poi2012]Distance
- Centos 升级python2.7到python3.4.2
- TinyXML入门
- 简历的主线这样写,就会有面试通知!
- CheckBoxDemo
- jQuery版本升级踩坑大全
- 用户画像数据建模方法
- Win10系统批量激活如何查看天数? 查看win10激活天数的图文教程
- 居中滚动的scrollview
- leetcode85 maximal rectangle
- 主键和外键
- 爬过的坑之Jquery篇
- 日经春秋 20160214
- 软件开发文档
- 如何用十条命令在一分钟内检查Linux服务器性能
- PHP缓冲区用法总结
- 抢红包背后的统计学
- 测试
- Core Graphics之(四):绘制矩形