?
Solved

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

Posted on 2006-07-11
5
Medium Priority
?
2,373 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 200 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 300 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
If you are a mobile app developer and especially develop hybrid mobile apps then these 4 mistakes you must avoid for hybrid app development to be the more genuine app developer.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
Suggested Courses

719 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