Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package tutorial3;
- // Anders Gill
- public class Application {
- public static void main(String[] args) {
- Rectangle rec1 = new Rectangle();
- rec1.setHeight(15);
- rec1.setWidth(10);
- rec1.setColor("Blue");
- System.out.println(rec1.toString());
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement