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) 编辑
摘要: 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) 编辑

导航