I'm learning Java by writing a Mandelbrot program. I can draw the image, then use the mouse to choose an area to magnify. Works great, except... When I choose the area to magnify (mouse down, move ...
* Concept: Validating input inside constructors ensures an object is never created in an invalid state. * Question: Create a `Rectangle` class that rejects non-positive dimensions at construction time ...