Main.java:15: error: no suitable method found for print(String,float,String)
System.out.print("The area of Circle: ", areaOfCircle, "\n");
^
method PrintStream.print(boolean) is not applicable
(actual and formal argument lists differ in length)
method PrintStream.print(char) is not applicable
(actual and formal argument lists differ in length)
method PrintStream.print(int) is not applicable
(actual and formal argument lists differ in length)
method PrintStream.print(long) is not applicable
(actual and formal argument lists differ in length)
method PrintStream.print(float) is not applicable
(actual and formal argument lists differ in length)
method PrintStream.print(double) is not applicable
(actual and formal argument lists differ in length)
method PrintStream.print(char[]) is not applicable
(actual and formal argument lists differ in length)
method PrintStream.print(String) is not applicable
(actual and formal argument lists differ in length)
method PrintStream.print(Object) is not applicable
(actual and formal argument lists differ in length)
Main.java:20: error: no suitable method found for print(String,float,String)
System.out.print("The area of Rectangle: ", areaOfRectangle, "\n");
^
method PrintStream.print(boolean) is not applicable
(actual and formal argument lists differ in length)
method PrintStream.print(char) is not applicable
(actual and formal argument lists differ in length)
method PrintStream.print(int) is not applicable
(actual and formal argument lists differ in length)
method PrintStream.print(long) is not applicable
(actual and formal argument lists differ in length)
method PrintStream.print(float) is not applicable
(actual and formal argument lists differ in length)
method PrintStream.print(double) is not applicable
(actual and formal argument lists differ in length)
method PrintStream.print(char[]) is not applicable
(actual and formal argument lists differ in length)
method PrintStream.print(String) is not applicable
(actual and formal argument lists differ in length)
method PrintStream.print(Object) is not applicable
(actual and formal argument lists differ in length)
Main.java:35: error: cannot find symbol
areaOfCircle = 3.1417 * (r * r);
^
symbol: variable r
location: class Circle
Main.java:35: error: cannot find symbol
areaOfCircle = 3.1417 * (r * r);
^
symbol: variable r
location: class Circle
Main.java:61: error: cannot find symbol
areaOfRectangle = w * l;
^
symbol: variable w
location: class Rectangle
Main.java:61: error: cannot find symbol
areaOfRectangle = w * l;
^
symbol: variable l
location: class Rectangle
6 errors