How to specify array types?

I don't know if anybody noticed, but the HelloWorld example produces

wrong signature:

public static final void Main()

as we all know, the correct one is:

public static final void Main(String[] args)

but I can't find a way to enter the square brackets.

Any suggestions?

Dimitar

0
1 comment

dimitar wrote:

I don't know if anybody noticed, but the HelloWorld example produces

wrong signature:

public static final void Main()

as we all know, the correct one is:

public static final void Main(String[] args)

but I can't find a way to enter the square brackets.

Any suggestions?

To type ArrayType you have to place cursor at method parameter list and

press control+enter. New parameter will appear. In completion menu under

parameter type you can select array type. [<type][] will appera. In

completion menu you can select string.

0

Please sign in to leave a comment.