Basic Java Language: Difference between revisions
wikademia>Cremisis13 |
wikademia>Cremisis13 |
||
| Line 51: | Line 51: | ||
</center> | </center> | ||
==Declaring Variables== | ==Declaring and Setting Variables== | ||
In a nutshell, declaring a variable has this syntax: | In a nutshell, declaring a variable has this syntax: | ||
<pre> [variable type] [identifier];</pre> | <pre> [variable type] [identifier];</pre> | ||