fork download
  1. class Area
  2. {
  3. public static void main(String args[])
  4. {
  5. float r,a;
  6. r=Integer.parseInt(args[0]);
  7. a=3.14*r*r;
  8. System.out.println("Area Of the Circle is "+a);
  9. }
  10. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
Main.java:7: error: incompatible types: possible lossy conversion from double to float
		a=3.14*r*r;
		        ^
1 error
stdout
Standard output is empty