subject

If I was writing a program which had classes for Vegetable, Fruit, Tomato, Watermelon, Carrot, which type of classes would make sense? Choice 1 of 4:Vegetable is a superclass of the subclass Carrot. Choice 2 of 4:No inheritance makes sense since there are no "IS A" relationships. Choice 3 of 4:Fruit is a superclass of the subclass Vegetable. Choice 4 of 4:Carrot is a superclass of the subclass Vegetable.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 21:30
You need to write some code that responds to a text change in a jtextfield. how can you do that? create a class that implements the interface actionlistener and override the method textfieldchanged create a class that extends the superclass actionlistener and override the method actionperformed create a class that implements the interface actionlistener and override the method actionperformed create a class that extends the superclass actionlistener and override the method textfieldchanged
Answers: 2
question
Computers and Technology, 22.06.2019 18:30
List the five on-board vehicle subsystems
Answers: 1
question
Computers and Technology, 23.06.2019 13:00
Which one of the following voltages should never be measured directly with a vom? a. 1200 v b. 500 v c. 800 v d. 100v
Answers: 2
question
Computers and Technology, 24.06.2019 11:00
Why is it uncommon for users to perform searches directly in database tables? a.)users are discouraged from interacting directly with tables because they might confuse tables with spreadsheets. b.) users are discouraged from interacting directly with tables because this may result in unintended changes to source data. c.)users do not have the technical skills required to perform searches directly in database tables. d.)users do not have the permissions required to perform searches directly in database tables.
Answers: 1
You know the right answer?
If I was writing a program which had classes for Vegetable, Fruit, Tomato, Watermelon, Carrot, which...
Questions
question
Mathematics, 20.05.2021 14:00
question
Physics, 20.05.2021 14:00
question
Chemistry, 20.05.2021 14:00
question
Biology, 20.05.2021 14:00
Questions on the website: 13722363