Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * Created by
- *
- * @autor: Brent Lucas
- * @version: 1.0 20/10/2014 9:43
- */
- public class RectangleDemo {
- public static void main(String[] args) {
- /*Rectangle rechthoek = new Rectangle();
- rechthoek.printValues();
- rechthoek.setHeight(100);
- rechthoek.setWidth(50);
- rechthoek.setPosition(10, 5);
- System.out.println("");
- rechthoek.printValues();*/
- System.out.println(Rectangle.getANGLES());
- for (int i = 0; i < 10; i++){
- if (i%2 == 0){
- Rectangle rechthoekZonderHeight = new Rectangle();
- }
- else {
- Rectangle rechthoekMetHeight = new Rectangle();
- }
- }
- System.out.println(Rectangle.getNUMBEROFINSTANCES());
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement