News

Local variables A local variable is declared within one specific sub-program of a larger main program. During the execution of this sub-program, the values of local variables will be held in RAM.
Java SE 10 (March 2018) introduced type inference for local variables. Java Language Architect Brian Goetz explains the feature.