Remember the cartoon "Tom and Jerry"? If you're too young for this, Google will help. And here's why it matters: This cartoon has lots of cats, mice, and dogs. Our task now is to create three classes: Dog, Cat, and Mouse. Each should have three fields. Then create objects of these classes, naming them after the cartoon characters.
Tom and Jerry
- 4
Locked
Comments (2)
- Popular
- New
- Old
You must be signed in to leave a comment
adevalebrook
24 November 2019, 11:12
Same question here, why do we use static classes? I can't find information about it!
+1
Zserbo
11 June 2019, 15:56
why do we use static classes?
+5