2015年4月27日

javaIO 流分析总结

摘要: Java中的流,可以从不同的角度进行分类。按照数据流的方向不同可以分为:输入流和输出流。按照处理数据单位不同可以分为:字节流和字符流。按照实现功能不同可以分为:节点流和处理流。输出流:输入流:因此输入和输出都是从程序的角度来说的。字节流:一次读入或读出是8位二进制。字符流:一次读入或读出是16位二进... 阅读全文

posted @ 2015-04-27 19:37 MrCharles在cnblogs 阅读(174) 评论(0) 推荐(0)

33选6 不能产生重复

摘要: 33选6 不能产生重复,利用Mathstatic int num[] = new int[6]; public static void main(String[] args) { // 33选6 for (int i=0;i<6;i++){ ... 阅读全文

posted @ 2015-04-27 14:28 MrCharles在cnblogs 阅读(170) 评论(0) 推荐(0)

33选6 不能产生重复

摘要: 33选6 不能产生重复,利用Mathstat... 阅读全文

posted @ 2015-04-27 14:28 MrCharles在cnblogs 阅读(51) 评论(0) 推荐(0)

Math(2)

摘要: Math(2)public static void main(String[] args) { System.out.println(Math.floor(-32.8)); //常数 System.out.println(Math.PI); ... 阅读全文

posted @ 2015-04-27 14:03 MrCharles在cnblogs 阅读(118) 评论(0) 推荐(0)

Math(2)

摘要: Math(2)public static v... 阅读全文

posted @ 2015-04-27 14:03 MrCharles在cnblogs 阅读(54) 评论(0) 推荐(0)

文章标题

摘要: /** * abs求绝对值 */ System.out.println(Math.abs(-10.4)); //10.4 System.out.println(Math.abs(10.1)... 阅读全文

posted @ 2015-04-27 13:47 MrCharles在cnblogs 阅读(191) 评论(0) 推荐(0)

文章标题

摘要: /** ... 阅读全文

posted @ 2015-04-27 13:47 MrCharles在cnblogs 阅读(57) 评论(0) 推荐(0)

欢迎使用CSDN-markdown编辑器

摘要: 欢迎使用Markdown编辑器写博客本Markdown编辑器使用StackEdit修改而来,用它写博客,将会带来全新的体验哦:Markdown和扩展Markdown简洁的语法代码块高亮图片链接和图片上传LaTex数学公式UML序列图和流程图离线写博客导入导出Markdown文件丰富的... 阅读全文

posted @ 2015-04-27 13:46 MrCharles在cnblogs 阅读(195) 评论(0) 推荐(0)

欢迎使用CSDN-markdown编辑器

摘要: 欢迎使用Markdown编辑器写博客本Mar... 阅读全文

posted @ 2015-04-27 13:46 MrCharles在cnblogs 阅读(82) 评论(0) 推荐(0)

Math类简介

摘要: Math abs max min分别是绝对值 最大值,最小值round 四舍五入ceilceil(32.6) 33.0ceil(32.2) 33.0返回大于该数值的较大的整数与之相对的就是floor(32.4)--->32.0 floor(-32.4)--->-33.0 取小于该数值的整数 ... 阅读全文

posted @ 2015-04-27 13:40 MrCharles在cnblogs 阅读(92) 评论(0) 推荐(0)

导航