377,375 views
15 votes
15 votes
1) Design a class named Axolotl that holds attributes for an axolotl's name, weight, and color. Include methods to set and get each of these attributes

2)Create a small program that declares two Axolotl objects (using the class above) and sets each axolotl's name, weight, and color attributes. The program must also output each axolotl's name, weight, and color after they are set

User Romalex
by
2.6k points

1 Answer

9 votes
9 votes

what subject is this exactly?

User Evilmandarine
by
3.1k points