Show Menu
Cheatography

Variables, Data Types and Math Operators Cheat Sheet (DRAFT) by

This is a draft cheat sheet. It is a work in progress and is not finished yet.

Variables

Named data storage
Strongly typed
Value can be modified
Instan­tiating a variable
int dataValue;
Assigning a value
dataValue = 100;

Naming variables convention

Only numbers and letters are used
First character is always a letter
Use "­Camel Case" style:
First letter is lower case
Start of each word after first is upper case
All other letters are lowercase