[2777] in java-interest

home help back first fref pref prev next nref lref last post

variable initialization...

daemon@ATHENA.MIT.EDU (Pat Niemeyer)
Fri Oct 13 05:33:14 1995

Date: Fri, 13 Oct 1995 02:13:13 -0500 (CDT)
From: Pat Niemeyer <pat@icon-stl.net>
To: java-interest@java.sun.com



So, uninitialized instance variables are set to zero or null.
Uninitialized local variables are invalid.
Except for the elements in arrays which are always initialized to zero or null.

Could someone explain the rationale for the distinction?
Is it related to optomization?


Pat
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post