Kev Jackson wrote:
> question: Do we assume that when arrays are initialised they have an
> undefined value?
Java requires newly created arrays to be filled with null/0/false acc.
to type. There is no need to explicitly blank it.
http://java.sun.com/docs/books/jls/second_edition/html/expressions.doc.html#23605
http://java.sun.com/docs/books/jls/second_edition/html/typesValues.doc.html#96595
-J.
--
Jesse Glick <mailto:jesse.glick@sun.com> x22801
NetBeans, Open APIs <http://www.netbeans.org/>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org
|