Class Diagrams

The following is a class diagram for a game of BlackJack

classdiagrams

Class diagrams are used to plan out a class before coding it. It allows you to visualize and plan out what variables and attributes the classes will have, along with how different classes will interact with each other.class diagram

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s