Difference between revisions of "Language Logic"
esse quam videri
m (→Variable Scope) |
m (→Polymorphism (Is a...)) |
||
Line 44: | Line 44: | ||
==Object Relationships== | ==Object Relationships== | ||
− | === | + | ===Inheritance (Is a...)=== |
====Single Inheritance==== | ====Single Inheritance==== | ||
====Multiple Inheritance==== | ====Multiple Inheritance==== | ||
====Virtual Inheritance==== | ====Virtual Inheritance==== | ||
====Conditional Inheritance==== | ====Conditional Inheritance==== | ||
+ | |||
===Containment (Has a...)=== | ===Containment (Has a...)=== | ||
===Association(Uses a...)=== | ===Association(Uses a...)=== |
Revision as of 22:37, 7 September 2009
Contents
Objects
Variables
Variables are objects that are given names, values and sometimes object types.
Examples | |
---|---|
C | char* name = "value"; |
C++ | char* name = "value"; |
C++0x | char* name = "value"; |
C# | string name = "value"; |