码迷,mamicode.com
首页 >  
搜索关键字:out    ( 35870个结果
Java基础 变量的作用域
变量的作用域:1、 Java用一对大括号作为语句块的范围,称为作用域。2、作用域中的变量不能重复定义。3、离开作用域,变量所分配的内存空间将被JVM回收。public void name(){ private String name = "rudy"; System.out.print...
分类:编程语言   时间:2015-03-21 12:32:55    阅读次数:109
java反射经典总结
1:通过反射解析这个类的构造函数public class person { public String name="jack"; private int password=123; private static int age; public person() { System.out.print....
分类:编程语言   时间:2015-03-21 11:01:41    阅读次数:180
JAVA学习笔记(四) - 循环语句
while循环/* * while循环 * 循环变量,可以控制循环次数。 */ public class Test { public static void main(String[] args) { int count = 5; while(count > 0) { System.out.println(...
分类:编程语言   时间:2015-03-21 09:48:33    阅读次数:188
Java——异常处理
【异常】运行期出现的错误(不是编译时的语法错误)。观察错误的名字和行号很重要!【程序分析:数组越界】 int [] arr = {1,2,3}; System.out.println(arr[4]); 注:在C和C++中编译通过,因为在C和C++中不进行数组越界的检查(这就很容易造成缓冲区溢出漏洞)...
分类:编程语言   时间:2015-03-20 23:31:27    阅读次数:245
解决fatal error: sys/system_properties.h: No such file or directory compilation terminated.
编译的异常log: system/core/include/cutils/properties.h:22:35: fatal error: sys/system_properties.h: No such file or directory compilation terminated. make[1]: *** [out/host/linux-x86/obj/STATIC_LIBRARIES/...
分类:其他好文   时间:2015-03-20 22:00:56    阅读次数:536
Hibernate的fetch
hibernate抓取策略fetch具体解释一、hibernate抓取策略(单端代理的批量抓取fetch=select(默认)/join)測试用例:Student student = (Student)session.get(Student.class, 1);System.out.println(...
分类:Web程序   时间:2015-03-20 21:48:29    阅读次数:202
CSUOJ 1526 Beam me out!
Beam me out!King Remark, first of his name, is a benign ruler and every wrongdoer gets a second chance after repenting his crimes in the Great Maze!To...
分类:其他好文   时间:2015-03-20 20:24:09    阅读次数:154
一、okio框架概述
OkioOkio是java.io和java.nio的补充,使用它更容易访问、存储和处理数据。ByteStrings和BuffersByteString是不可变的字节序列。类似String类,使用它更容易处理二进制数据。Buffer是可变的字节序列。类似ArrayList。Sources和SinksSource类似InputStream(输入流);Sink类似Out..
分类:其他好文   时间:2015-03-20 18:53:51    阅读次数:160
REF和OUT关键字的介绍
最近用到了ref和out关键字,对于其概念有些遗忘,就又参考MSDN的资料学习了一下,下面是我参考MSDN整理出来的两者的简单介绍及比较:
分类:其他好文   时间:2015-03-20 18:18:25    阅读次数:127
java 从args[]中赋值和程序直接赋值不一样?
System.out.println("对应的中文: " + decodeUnicode(args[0]));赋值args[0] = “\u7b80\u4ecb”System.out.println("对应的中文: " + decodeUnicode(“\\u7b80\\u4ecb”));两者才会相...
分类:编程语言   时间:2015-03-20 18:17:14    阅读次数:95
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!