21. Conclusion

So here’s a simplified but mostly complete UML diagram describing the classes, what they contain and how they interact for our BlackJack project:

While this implementation is far from perfect, it has hopefully shown you what Object-Oriented programming is all about. Here are some final pointers to help with any future OO projects:

  1. Contemplate the project from a real world perspective first, what real objects exist in this project?
  2. How could you make your classes reusable in other projects?
  3. Consider making a UML diagram, even something simple will give you a good overview of the project.
  4. Hide your fields from the world as much as possible.

And with that, we’re done. If you’ve enjoyed getting your feet wet then why don’t you have a crack at Android App Development which is the next logical step!

Leave a Comment

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>