answersLogoWhite

0

Inheritance allows classes to be reused by creating a direct relationship superclasses and subclasses. By allowing a subclass to inherit from a superclass, less code is required to develop new subclasses. Hence how the term reuse comes into play. A subclass is essentially "reusing" what has already been developed in the superclass.

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

What are 5 ways to reduce reuse and recycle?

fgfgdf


What are ways to go green?

reduce, reuse, and recycle. You can reuse many school supplies and you can recycle plastics and you can reduce the waste such as garbage.


What are two ways you can reuse?

You can put things in a water bottle to save up on cups. You can also give clothes that u don't want to somebody who needs them. That's two ways to reuse


What does the slogan reduce reuse and recycle signify?

The slogan "reduce, reuse, recycle" signifies a framework for sustainable living aimed at minimizing waste and conserving resources. "Reduce" encourages individuals to lower their consumption and waste generation, "reuse" promotes finding new ways to use items instead of discarding them, and "recycle" emphasizes processing materials to create new products. Together, these practices help mitigate environmental impact and promote a circular economy.


What are three ways of dealing with solid waste?

reduce, reuse, and recycle


What are some ways to reuse cheap Mardi Gras beads?

Some ways to reuse cheap Mardi Gras beads are to have kids have some fun with them like making them into necklaces and other things that kids enjoy to do.


The ways to conserve electrical energy using aircon?

RECYCLE REUSE REDUCE


What is the 3 RRRs?

The 3 RRRs refer to the principles of Reduce, Reuse, and Recycle, which are strategies aimed at minimizing waste and conserving resources. "Reduce" encourages lowering consumption and waste generation, "Reuse" promotes finding new ways to use items instead of discarding them, and "Recycle" involves processing materials to create new products. Together, these practices aim to promote sustainability and reduce environmental impact.


What supports reusability and extensibility of classes in c plus plus?

There are two ways to reuse a class in C++. Composition and inheritance. With composition, any class data member can be an instance of an existing class. With inheritance, we can derive a new class from an existing class. Either way, we create a new class of object with all the properties of the existing class which can be extended and/or replaced with properties of our own.


What are some creative ways to reuse a butter wrapper?

Some creative ways to reuse a butter wrapper include using it to grease baking pans, wrapping leftover cheese or vegetables, or using it as a makeshift coaster for small items.


What are some creative ways to reuse a spaghetti box?

Some creative ways to reuse a spaghetti box include using it as a storage container for small items, turning it into a homemade bird feeder, or using it as a planter for small plants.


What are the 5 ways of looking at the earth?

you mean the 5rs reduce reuse recycle rethink