Advertisement
Benz_Coe

Test abstract

Mar 21st, 2018
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.16 KB | None | 0 0
  1. public class Test{
  2.     public static void main(String[] args) {
  3.         Square one = new Square(3);
  4.         one.calArea();
  5.         System.out.println("Area = "+one.getArea());
  6.     }
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement