EE364-lab/lab-01/src/Program.java
HeshamTB f4fa262bd9
update:
- ignore meta-inf
	- Change c style args array in main. (recommended by IDE)
	- build with java 1.8.x
2020-09-09 22:47:44 +03:00

19 lines
410 B
Java

import java.io.PrintStream;
public class Program {
public static void main(String[] args){
PrintStream out = System.out;
Circle c0 = new Cylinder(4,9);
out.println(c0);
_Rectangle r = new _Rectangle(2,7);
out.println("\n"+r);
_Point p = new Cylinder(8,6);
Circle c = (Cylinder)p;
c.setLocation(4,-3);
out.println("\n"+c);
}
}