错误具体点,比如是什么class 产生NoClassDefFoundError的exception
解决方案 »
- 双色球代码出现null值 求大神现身相助
- 小小困惑
- 求救!!!如何一个构造方法:没有形参,在方法中将车牌号设置“XX1234”
- jsp如何才能让指定的 radiobutton1的第1个设置为选中状态?
- 求dom处理XML文件的各种操作经典代码
- java菜鸟问题
- 急java文件操作问题,有代码
- (学JAVA的都进来.........)runtime exception与Compile time error有什么区别!
- Java语言基础篇 求解
- eclipse中不可以编译JAVA APPLET吗!谢谢指教
- 生成随机数的问题。
- 继承于AbstractTableModel的JTable如何实现动态删除一行?谢谢!
{
public static void main(String[] args)
{
System.out.println("number of object is:"+Sphere.getCount());
Sphere ball=new Sphere(4.0,0.0,0.0,0.0);
System.out.println("number of object is:"+ball.getCount());
Sphere globe=new Sphere(10.0,1.0,1.0,1.0);
System.out.println("number of object is:"+globe.getCount());;
}
}public class Sphere
{
static int count=0;
double radius;
double x;
double y;
double z;
public Sphere(double radius,double x,double y,double z)
{
this.radius=radius;
this.x=x;
this.y=y;
this.z=z;
++count;
}
static int getCount()
{
return count;
}
} 谢谢了!
set classpath=.;c:\jdk1.3.1_01\lib;D:\exec
我用2000只改了一个path就行了。