
java
my_bkn
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Java中的堆和栈
Java 中的堆和栈简单的说:Java把内存划分成两种:一种是栈内存,一种是堆内存。 在函数中定义的一些基本类型的变量和对象的引用变量都在函数的栈内存中分配。 当在一段代码块定义一个变量时,Java就在栈中为这个变量分配内存转载 2011-10-13 11:12:55 · 719 阅读 · 0 评论 -
package导致出现java.lang.NoClassDefFoundError (wrong name)
0、testPackage.java位于E:\workspace\com\sundq\test目录下,内容如下: 1package com.sundq.test; 2public class转载 2011-10-15 10:41:16 · 14240 阅读 · 3 评论 -
serializable 类 ****未声明类型为 long 的静态终态 serialVersionUID 字段
The serializable class XXX does not declare a static final serialVersionUID field of type long--可序列化的类 CreateBPOVIEW 未声明类型为 long的静态终态转载 2011-10-17 00:27:17 · 7820 阅读 · 0 评论 -
Accessing Outside Variables with the Final Keyword内部类访问外部变量
Sometimes you want to access information available outside of the inner class. Consider the following example. You’ve got a screen with two controls: a Button and a TextView. Each time the user clicks原创 2011-11-26 23:17:33 · 623 阅读 · 0 评论