It depends on if the variable is at the class level or inside of a method. Local variables must be given an initial value.
Type: Posts; User: Norm
It depends on if the variable is at the class level or inside of a method. Local variables must be given an initial value.
One assigns a value to a variable when it is defined.
The other does not and lets the compiler give a default value to the variable.