小问题 讨论 ,欢迎发言,呵呵 怎么证明是,呵呵,java跟delphi一样,所有的类都是从TOject(delphi)/Oject(java)下来的 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 String[] aa = new String[3]; System.out.println("Hashcode:"+((Object)aa).hashCode()); System.out.print("Implements interfaces:"); Class cls[] = aa.getClass().getInterfaces(); for(int i=0;i<cls.length;i++) System.out.print("'"+cls[i]+"',"); System.out.println("\naa.getClass().getPackage()="+aa.getClass().getPackage());讨论数组有父与无父并没有太大的意义 int[] ia = new int[3];System.out.println(ia.getClass());System.out.println(ia.getClass().getSuperclass()); 谁能把这段代码的内存讲清楚啊??? 面试题:关于list集合的问题 关于JTable的一个问题 如何用java实现自动保存文件 多线程问题 关于Node的问题 调用存储过程出现的一个奇怪的问题 Java有没有形参,实参,引用,指针? 求教大虾!!! 如何在jdk1.3中使用ImageIO这个类。 一个java初学者的问题 为什么会出现这样问题? where有jb6
System.out.println("Hashcode:"+((Object)aa).hashCode());
System.out.print("Implements interfaces:");
Class cls[] = aa.getClass().getInterfaces();
for(int i=0;i<cls.length;i++)
System.out.print("'"+cls[i]+"',");
System.out.println("\naa.getClass().getPackage()="+aa.getClass().getPackage());讨论数组有父与无父并没有太大的意义
System.out.println(ia.getClass());
System.out.println(ia.getClass().getSuperclass());