Computer Science, asked by pranamsharmais420, 5 months ago

A programmer is making a database of animals in a zoo along with their properties. The possible
animals are dog, lion and zebra. Each one has attributes as herbivorous, color and nocturnal. The
programmer uses the object-oriented programming paradigm for this. How will the system be
conceptualized?​

Answers

Answered by Dikshant2005
9

The system must be designed in the following way - class: Animal; objects: dog, lion and zebra; data members: is Herbivorous, colour and is Nocturnal.

HOPE IT HELPS.PLEASE MARK AS BRAINLIEST ANSWER!! :)

Answered by sourasghotekar123
0

Answer:

A programmer is making a database of animals in a zoo along with their properties. The possible animals are dog, lion and zebra. Each one has attributes as herbivorous, color and nocturnal. The programmer uses the object-oriented programming paradigm for this. How will the system be conceptualized?​

Explanation:

A programmer is making a database of animals in a zoo along with their properties. The possible animals are dog, lion and zebra. Each one has attributes as herbivorous, color and nocturnal. The programmer uses the object-oriented programming paradigm for this. How will the system be conceptualized?​

  • Here the system should be structured as-
  • Class Animals; object; dog lion and Zebra; data members: is herbivorous, color and is Nocturnal.
  • This is the answer, because one class is enough for all the animals.
  • The object oriented programming is referred as the model of programming language that is organized around the objects.

Hence, Class Animals; object; dog lion and Zebra; data members: is herbivorous, color and is Nocturnal is the correct answer.

#SPJ6

Similar questions