Please help me! I wrote below code then I compiled it (there is no error):
//A Very Simple Example
//Area of circle
class CircleArea {
public static void main(String[] args) {
float pi, r, a;
pi = 3.1416f;
r = 10.5f;
a = r*r*pi;
System.out.println(a);
}
}
=> Then I click on Run Java Application, but on the Command Prompt showed error:
Exception in thread “main” java.lang.NoClassDefFoundError: Output
Press any key to continue . . .
What’s wrong???