Students, please be sure to log in. This site does not use cookies and cannot store work submitted when not signed in.

Unit 5 Problems

Cat

In this problem, you are practicing adding instance variables to a java class.

Write a class Cat with the following instance variables
   an instance variable isCute to indicate whether or not a cat is cute
   an instance variable called name for the name of the cat

Type your solution        
Skills Practiced:
3.B
4.A
4.B
Copyright © StudyCS 2024 All rights reserved.