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, 21.06.2019 23:30
4.11 painting a wall (1) prompt the user to input integers for a wall's height and width. calculate and output the wall's area (integer). note that in this case there is a new line after each prompt. (submit for 1 point). enter wall height (feet): 11 enter wall width (feet): 15 wall area: 165 square feet (2) extend to also calculate and output the amount of paint in gallons needed to paint the wall (floating point). assume a gallon of paint covers 350 square feet. store this value in a variable. output the amount of paint needed using the %f conversion specifier. (submit for 2 points, so 3 points total). enter wall height (feet): 11 enter wall width (feet): 15 wall area: 165 square feet paint needed: 0.471429 gallons (3) extend to also calculate and output the number of 1 gallon cans needed to paint the wall. hint: use a math function to round up to the nearest gallon. (submit for 2 points, so 5 points total). enter wall height (feet): 11 enter wall width (feet): 15 wall area: 165 square feet paint needed: 0.471429 gallons
Answers: 3
question
Computers and Technology, 22.06.2019 15:30
Melissa needs to add a topic to an email that she will send to her teacher. choose the name of the field where she should type her topic.
Answers: 2
question
Computers and Technology, 23.06.2019 02:30
Which component acts as a platform on which application software runs
Answers: 2
question
Computers and Technology, 24.06.2019 05:00
Who is most likely be your target audience if you create a slide presentation that had yellow background and purple text
Answers: 2
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
Advanced Placement (AP), 07.11.2020 14:00
question
Mathematics, 07.11.2020 14:00
question
Mathematics, 07.11.2020 14:00
question
Mathematics, 07.11.2020 14:00
question
Biology, 07.11.2020 14:00
question
Biology, 07.11.2020 14:00
question
History, 07.11.2020 14:00
Questions on the website: 13722367