The declaration part: you start by typing in the data type, then the name of the variable. The initialization part: then with the equal sign (=), you set it equal to the value. int exampleVar = 38; You can also declare and initialize on different lines: int anotherVar; anotherVar = 71; Let's define other data types into variables.