I need to store different objects in the ArrayList. Objects are similar in nature but different and have different methods.
Circle c = new Circle(); Cube s =
ArrayList list = new ArrayList();
you can call the all methods including Object class method.