Privacy Policy Terms Of Use. Copyright © 2006-2010 Java Tutorials and Examples.
Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.
My task is to write a program that calculates the area of the following figures:
- a square with sides of 0.666666667 meters
- a rectangle of sides 1/9 and 4 meters
Starter code:
- public class IfTest1
- {
- public static void main(String[] args)
- {
- // your code goes here
- }
- }
