Computers and Technology

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 Only one object or instance can be created using a class definition.
B Objects created using the same class must have the same properties.
C Objects created using the same class must have the same properties and values.
D Only objects with the Type property value can be created using a class definition.

answer
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 04:30, zetrenne73
How can you know if the person or organization providing the information has the credentials and knowledge to speak on this topic? one clue is the type of web site it is--the domain name ".org" tells you that this site is run by a nonprofit organization.
Answers: 2
image
Computers and Technology, 23.06.2019 09:30, jason9394
Facial expressions and gestures are examples of messages.
Answers: 3
image
Computers and Technology, 23.06.2019 20:00, shaheedbrown06
What software programs are used to to create professional publication? a.) graphics programs b.) word processors c.) page layout programs d.) spreadsheet programs
Answers: 2
image
Computers and Technology, 24.06.2019 03:30, glitch14
It is not necessary to develop strategies to separate good information and bad information on the internet. true or false
Answers: 1
Do you know the correct answer?
Paige is creating a game with an underwater scene. She has created a class for fish objects. She wan...

Questions in other subjects:

Konu
English, 24.08.2021 01:00