Solved

OOP and Inheritance: How do we call the opposite of "inherit from"? Is it "inherit to"?

Posted on 2006-07-11
5
2,276 Views
Last Modified: 2013-11-25
Hi all Object Oriented programmers,

In OOP and Inheritance, how do we call the opposite of "inherit from"?
Ie I want to say: the parent gives attributes to the child.
Is it "inherit to"?

Are there any other options?
tia

Avi
0
Comment
Question by:progtw
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 22

Assisted Solution

by:cookre
cookre earned 50 total points
ID: 17081490
passes
bestows
endows
passes down
bequeaths
imparts
0
 

Author Comment

by:progtw
ID: 17081525
to cookre:

I have never heard any of those words in tech usage for inheritance. Can you give links to some exampels on the net.

avi
0
 
LVL 1

Expert Comment

by:fwploeg
ID: 17081750
I would not say it like that, the parent takes no action towards the child. The child takes action to inherit from the parent.

So i would say:
The child (derived class) inherits attributes from the parent (base class)
The parent (base class) contains inherritable attributes for the child (derived class)


0
 
LVL 1

Accepted Solution

by:
fwploeg earned 75 total points
ID: 17081830
Well looked a bit further:
http://www.computer-dictionary-online.org/?q=object%2Doriented%20programming

Here the say "Methods or code in one class can be passed down the hierarchy to a subclass or inherited from a superclass".
So passes would be a good term.

The parent passes down attributes to the child..
0
 

Author Comment

by:progtw
ID: 17088216
to fwploeg

>> I would not say it like that, the parent takes no action towards the child. The child takes action to inherit from the parent.
>> The parent (base class) contains inherritable attributes for the child (derived class)

That is a very good point. However, I think in day to day speech we do find ourselves wanting to say "A inherits to B". And so we probably want to write it also.

>> The parent passes down attributes to the child..
The best of the worst. cookre also said that.

In Hebrew we don't have this problem. We have two real opposite words from the same root , one of which means to "inherit from" and the other to "inherit to".

I will split the points.

thnx


Avi



 
0

Featured Post

What Is Transaction Monitoring and who needs it?

Synthetic Transaction Monitoring that you need for the day to day, which ensures your business website keeps running optimally, and that there is no downtime to impact your customer experience.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question