uni-assignments

University programming assignments
git clone git://git.christosmarg.xyz/uni-assignments.git
Log | Files | Refs | README | LICENSE

Main.java (397B)


      1 public class Main {
      2         public static void main(String[] args) {
      3                 Point pt = new Point(50.55, 23.11);
      4                 Pixel px = new Pixel(pt, 0xffaaee);
      5                 Rectangle rect = new Rectangle();
      6 
      7                 System.out.println(pt.toString());
      8                 System.out.println(px.toString());
      9                 rect.print();
     10                 rect.info();
     11         }
     12 }