use of corejava.chapter4.lab4_5.shape.Shape in project CoreJava by alekseiiagnenkov.
the class Lab9 method main.
public static void main(String[] args) {
Point point = new Point(0, 0);
Shape circle = new Circle(new Point(0, 0), 20);
Queue<Integer> queue = new Queue<>();
queue.add(1);
queue.add(2);
queue.add(3);
Queue.Iterator iterator = queue.iterator();
Integer a = 0;
Character[] strings = { '1', '2', '3' };
Object[] objects = { strings, 0, a, point, queue, iterator, circle, staticPoint };
for (Object obj : objects) {
System.out.println(toString(obj));
}
}