Providing toString()
methods
No. 167
Q: |
Consider:
This creates the following output: de.hdm_stuttgart.mi.sd1.shape.model.Circle@659e0bfd de.hdm_stuttgart.mi.sd1.shape.model.Rectangle@2a139a55 This result is due to the invocation of the Circle (-2.0,-1.0), radius=3.5 Rectangle (3.0,1.0), width=1.5, height=4.4 Provide appropriate unit tests. TipYou may access
|
A: |
|