Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Chapter 1

Chapter 1-1

classDiagram
Animal <|--  Duck
Animal <|--  Fish
Animal <|--  Zebra
Animal : +int  age
Animal : +String  gender
Animal: +isMammal()
Animal: +mate()
class  Duck{
+String  beakColor
+swim()
+quack()
}
class  Fish{
-int  sizeInFeet
-canEat()
}
class  Zebra{
+bool  is_wild
+run()
}