• I want to store information about attributes of object like sides measures, for a rectangle, width and height, for a cylinder, its height, its circle info etc.

    Along with this I have to store its color information also(assume that object has only one color).