You might be thinking at this point that it’s a lot of work to tell another programmer how to build a class because there’s so much information you need to convey. Luckily, there’s something called UML (Unified Modeling Language) Diagrams that were created just for this purpose.
There’s a lot of different symbols and notation for UML Diagrams, so let’s just learn the basics. Here’s what a UML Diagram for the Person class from before looks like:
Create the Circle class given a UML diagram.
Create a UML diagram for the Account class.