subject

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.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 21:00
Write a method so that the main() code below can be replaced by the simpler code that calls method original main(): public class calcmiles { public static void main(string [] args) { double milesperhour; double minutestraveled; double hourstraveled; double milestraveled; milesprhour = scnr.nextdouble(); minutestraveled = scnr.nextdouble(); hourstraveled = minutestraveled / 60.0; milestraveled = hourstraveled * milesperhour; system.out.println("miles: " + milestraveled); } }
Answers: 2
question
Computers and Technology, 23.06.2019 00:00
What engine component is shown in the above figure?
Answers: 1
question
Computers and Technology, 23.06.2019 12:00
Which of these is an example of an integrated presentation? a. a table created in powerpoint b. an image pasted into powerpoint c. a caption created in powerpoint d. an excel chart pasted into powerpoint
Answers: 1
question
Computers and Technology, 23.06.2019 18:00
What can a word user do with the customize ribbon dialog box? check all that apply. minimize the ribbon add a new tab to the ribbon remove a group from a tab add a group to a tab choose which styles appear choose which fonts appear choose tools to appear in a group
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
Social Studies, 01.09.2021 09:20
question
History, 01.09.2021 09:20
question
Physics, 01.09.2021 09:20
question
Health, 01.09.2021 09:20
question
Advanced Placement (AP), 01.09.2021 09:20
question
Mathematics, 01.09.2021 09:20
question
Computers and Technology, 01.09.2021 09:20
Questions on the website: 13722362