weird class definition# Java - 爪哇娇娃
c*t
1 楼
in hell.java class, I define it
import ....;
public class hell
{
private float var1=1;
public hell()
{
...;
}
...
public static void main()
{
hell a = new hell();
....
}
}
when I compile it, no problem. but when run java hell.class
it tells me Exception in thread "main" java.lang.NoClassDefFoundError
Anything wrong?
import ....;
public class hell
{
private float var1=1;
public hell()
{
...;
}
...
public static void main()
{
hell a = new hell();
....
}
}
when I compile it, no problem. but when run java hell.class
it tells me Exception in thread "main" java.lang.NoClassDefFoundError
Anything wrong?