zainaamir087
zainaamir087 zainaamir087
  • 18-05-2021
  • Computers and Technology
contestada

What is Inheritence in computer science? Explain in your won words with examples.

Respuesta :

09puciarka 09puciarka
  • 18-05-2021

Answer:

Inheritance is when one class or script, inherits the properties and methods of another class. They can be re-used which makes it useful. This is why there are parent classes and child classes. Child classes inherit the properties of the parent class. An example is when a "car", "truck" are subclasses of a class called vehicle. Allowing you to make more vehicle using the same parent class.

Hope this makes sense!

Answer Link

Otras preguntas

Which scientific or technological advance did not take place in the first fifteen years of the twentieth century? a) Albert Einstein's theory of relativity b)
The type of protozoan that uses psuedopods (false feet) to move is a. a ciliate protozoan. b. an amoeboid protozoan. c. a sporozoan. d. an algae
Select the difference of (2x2 - 3x3) - (6x2 - 9x3).
The Red Scare began after _________
Simplify the expression 1/3(7y-2)+1/9(6y+10)
Principal of $1700 is invested at 8.2% simple interest, paid annually, for 7 years.What is the rate of return
how do you work out 12r-8-12=
The probability of choosing a 6 at random from a standard deck of playing cards is 1/13. Use this information for 13 and 14.13.) What is the complement of the e
Write an algebraic expression for three fourths the square of b
In the presence of oxygen, one glucose molecule has the energy to make up to a. 12 NADH. b. 4 FADH2. c. 38 ATP. d. all of the above