subject
Computers and Technology, 23.02.2021 02:20 debry

Paige is creating a game with an underwater scene. She has created a class for fish objects. She wants to add several fish in a variety of sizes, colors and shapes. She creates the following two fish using the fish class definition. FISH A
Size : Large
Color: Pink
Shape: Oval

FISH B
Size: Small
Color: Blue
Eyes: Large
There is an error in the fish class definition. Which statement correctly explains the error?
a

Objects created using the same class must have the same properties and values.
B

Objects created using the same class must have the same properties.
C

Only one object or instance can be created using a class definition.
D

Only objects with the Type property value can be created using a class definition.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 15:30
What is a costume plot? why is it important to a film or theater production?
Answers: 2
question
Computers and Technology, 22.06.2019 17:00
Your company has 1,500 desktop computers running windows 7. you want to upgrade them to windows 10. which type of microsoft license would be best suited in this situation?
Answers: 3
question
Computers and Technology, 22.06.2019 20:40
Assume that there is a 4% rate of disk drive failure in a year. a. if all your computer data is stored on a hard disk drive with a copy stored on a second hard disk drive, what is the probability that during a year, you can avoid catastrophe with at least one working drive? b. if copies of all your computer data are stored on three independent hard disk drives, what is the probability that during a year, you can avoid catastrophe with at least one working drive?
Answers: 1
question
Computers and Technology, 23.06.2019 06:40
How many nibbles can be stored in a 16-bit word?
Answers: 1
You know the right answer?
Paige is creating a game with an underwater scene. She has created a class for fish objects. She wan...
Questions
question
Chemistry, 06.10.2021 20:40
question
Mathematics, 06.10.2021 20:40
question
Mathematics, 06.10.2021 20:40
question
Mathematics, 06.10.2021 20:40
question
Mathematics, 06.10.2021 20:40
question
Mathematics, 06.10.2021 20:40