go ahead , make my day....( sorry Harry)
-
Here is something you all been waiting for to flame me :
statement
subclassing is same as inheritance
declaration
class A is a subclass if/when it inherits from class B
example:
class A : class Bstatement
class A is called parent if/when class B is used as its variableCon / pro expected... Variation of terminology is also expected. Sticking with the subject optional. If feasible, skip "declaration / definition" challenge. Cheers
-
Here is something you all been waiting for to flame me :
statement
subclassing is same as inheritance
declaration
class A is a subclass if/when it inherits from class B
example:
class A : class Bstatement
class A is called parent if/when class B is used as its variableCon / pro expected... Variation of terminology is also expected. Sticking with the subject optional. If feasible, skip "declaration / definition" challenge. Cheers
Salvatore Terress wrote:
Here is something you all been waiting
No.
-
Here is something you all been waiting for to flame me :
statement
subclassing is same as inheritance
declaration
class A is a subclass if/when it inherits from class B
example:
class A : class Bstatement
class A is called parent if/when class B is used as its variableCon / pro expected... Variation of terminology is also expected. Sticking with the subject optional. If feasible, skip "declaration / definition" challenge. Cheers
What's wrong with the IS-A and HAS-A terminology? Examples: A cat IS-A mammal A cat HAS-A tail
class Cat : Mammal // IS-A relationship
{
Tail tail_; // HAS-A relationship
};Freedom is the freedom to say that two plus two make four. If that is granted, all else follows. -- 6079 Smith W.
-
Here is something you all been waiting for to flame me :
statement
subclassing is same as inheritance
declaration
class A is a subclass if/when it inherits from class B
example:
class A : class Bstatement
class A is called parent if/when class B is used as its variableCon / pro expected... Variation of terminology is also expected. Sticking with the subject optional. If feasible, skip "declaration / definition" challenge. Cheers
Salvatore Terress wrote:
Here is something you all been waiting for to flame me :
To flame you we didn't need to wait for this. :-D
M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.
-
What's wrong with the IS-A and HAS-A terminology? Examples: A cat IS-A mammal A cat HAS-A tail
class Cat : Mammal // IS-A relationship
{
Tail tail_; // HAS-A relationship
};Freedom is the freedom to say that two plus two make four. If that is granted, all else follows. -- 6079 Smith W.
-
Then allow tail to be null and handle appropriately