Please enable JavaScript to use CodeHS

CodeHS Glossary


Initialize a variable Java

Initializing a variable is giving it an initial value, or a starting value. For example: ``` int num = 4; // num has been initialized with the initial value 4 ```