Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Test{
- public static void main(String[] args) {
- Square one = new Square(3);
- one.calArea();
- System.out.println("Area = "+one.getArea());
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement