I created a shape object in java which has attributes color, corners and name.
I then have a method create shape that return a Shape object. I have for instance create a circle. What I need to do is return a string of the object for example shape.toString()
needs to be:
Circle[c=Blue,cnr=0]:cirleName
but I am getting:
com.shape.model.Circle@64fa8cc6