class Area{ public static void main(String args[]) { float r,a; r=Integer.parseInt(args[0]); a=3.14*r*r; System.out.println("Area Of the Circle is "+a); }}
Standard input is empty
Main.java:7: error: incompatible types: possible lossy conversion from double to float a=3.14*r*r; ^ 1 error
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!