[326] in java-interest

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

new array declaration syntax in parameter list?

daemon@ATHENA.MIT.EDU (MIURA Masahiro)
Wed Jun 14 22:30:51 1995

To: java-interest@java.sun.com
Date: Thu, 15 Jun 1995 11:06:17 +0900
From: MIURA Masahiro <mmiura@ap.ilab.toshiba.co.jp>

Hi,

I like the new array declaration syntax.  Can I use it in method's
parameter list?  That is, instead of

    public static void main (String args[]) { ... }

I want to write

    public static void main (String[] args) { ... }

but javac complains "Identifier expected" between String and [].


--
MIURA Masahiro [mmiura@ap.ilab.toshiba.co.jp]
-
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