Skip to main content
Engineering LibreTexts

9: Inheritance

  • Page ID
  • In this chapter I present classes to represent playing cards, decks of cards, and poker hands. If you don’t play poker, you can read about it at, but you don’t have to; I’ll tell you what you need to know for the exercises. Code examples from this chapter are available from

    If you are not familiar with Anglo-American playing cards, you can read about them at

    • Was this article helpful?