Difference between revisions of "Language Logic"
esse quam videri
m (→Variables) |
m (→Variables) |
||
Line 26: | Line 26: | ||
<td style="background:yellow;">name</td> | <td style="background:yellow;">name</td> | ||
<td style="background:gray;"> = "value";</td> | <td style="background:gray;"> = "value";</td> | ||
+ | </tr> | ||
+ | |||
+ | <tr style="border:1px solid black;"> | ||
+ | <td>JAVA</td> | ||
+ | <td style="background:blue;">final String </td> | ||
+ | <td style="background:yellow;">Name</td> | ||
+ | <td style="background:gray;"> = "Value";</td> | ||
</tr> | </tr> | ||
Revision as of 03:55, 8 September 2009
Contents
Objects
Variables
Variables are objects that are given names, values and sometimes object types. The purpose of variables, are to store data for use later in a program.
Examples | |||
---|---|---|---|
Language | Type | Name | Value |
C# | const string | VariableName | = "SomeValue"; |
C++ | const char* | name | = "value"; |
JAVA | final String | Name | = "Value"; |