日期:2014-05-20 浏览次数:21018 次
class HeapQuiz {
int id = 0;
/**
* @param args
*/
public static void main(String[] args) {
int x = 0;
HeapQuiz[] hq = new HeapQuiz[5];
while(x<3){
hq[x] = new HeapQuiz();
hq[x].id = x;
x = x+1;
}
hq[3] = hq[1];
hq[4] = hq[1];
hq[3] = null;
hq[4] = hq[0];
hq[0] = hq[3];
hq[3] = hq[2];
hq[2] = hq[0];
// TODO 自动生成方法存根
}
}
class a{
int x;
public static void main(){
}}
class a{
public static void main(){
}
}
class b{
int x;
}