+ 8
Inheritance and Syllogism
Can we say that Inheritance has been inherited from Aristotle's Syllogism? All men are mortal. (major premise) Socrates is a man. (minor premise) Therefore Socrates is mortal. (conclusion)
3 Antworten
+ 8
In Module 7 "Inheritance & Polymorphism", Lesson 63 "Inheritance", in the first note is stated: "The idea of inheritance implements the is a relationship. For example, mammal IS-A animal, dog IS-A mammal, hence dog IS-A animal as well."
This reminded me of what the Greek philosopher Aristotle said more than two thousand years ago.
At the end, as said Antoine-Laurent de Lavoisier:
In nature nothing is created, nothing is lost, everything changes.
This is valid also for C++.
+ 2
Yes. Furthermore, a class is a "concept" like person, and you are one instance of the person concept, that is called an object.
Also, an abstract concept (hence, class) like love cannot be instantiated, as there cannot be love in the concrete world.
+ 2
What is this?