会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Java ..
2017年4月11日
装箱,拆箱
摘要: package cn.xyf.base; /** * @author Dale * java中的自动装箱与拆箱 * 简单一点说,装箱就是自动将基本数据类型转换为包装器类型;拆箱就是自动将包装器类型转换为基本数据类型。 */ public class Number { public static void main(String[] args) { /** ...
阅读全文
posted @ 2017-04-11 17:06 百东
阅读(122)
评论(0)
推荐(0)
编辑
downLoad
摘要: String root= ServletActionContext.getServletContext().getRealPath(File.separator).replace("\\", File.separator); String fileName = "download.text"; File file = new File(root + fileName); in = new Fil...
阅读全文
posted @ 2017-04-11 16:02 百东
阅读(165)
评论(0)
推荐(0)
编辑
导航
博客园
首页
新随笔
联系
订阅
管理
公告