
Java
BBbird_Miao
这个作者很懒,什么都没留下…
展开
-
J002.关于static变量
所以,static变量只占用一个存储空间,即为“class data”,”meaning that the data and method exist only for the class as a whole,and not for any particular objects of class”(Thinking in Java)原创 2015-03-14 22:50:47 · 391 阅读 · 0 评论 -
J001.关于main里的static
若storage前无static无法通过编译,“无法从静态上下文中引用非静态方法”原创 2015-03-14 22:55:01 · 451 阅读 · 0 评论 -
wrapper primitives和char向int转化
1.Unary Plus "its only effect is to promote byte,short,or char to int" 2.当比int小的基本类型运算时也会自动转换为int 3.wrapper primitives原创 2015-03-15 22:49:16 · 474 阅读 · 0 评论 -
转载整理:求数组的全排列
对一个数组内的数进行全排列(递归方法)原创 2015-03-18 12:55:40 · 596 阅读 · 0 评论