Advertisement
aznGiLL

Application

Mar 15th, 2012
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.27 KB | None | 0 0
  1. package tutorial3;
  2. // Anders Gill
  3.  
  4. public class Application {
  5.  
  6.     public static void main(String[] args) {
  7.         Rectangle rec1 = new Rectangle();
  8.        
  9.         rec1.setHeight(15);
  10.         rec1.setWidth(10);
  11.         rec1.setColor("Blue");
  12.        
  13.         System.out.println(rec1.toString());
  14.  
  15.     }
  16.  
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement