How to access array elements in base language?


I wonder how does one access array elements in the base language?

For example, in the following code (the cursor position is marked with '|'):

static void main ( String [] args ) {
    System . out . println ( args| );

...when I press space or enter and type '[' into the yellow cell, it seems to accept it, but then refuses to continue accepting any further edits, displaying a message 'No variants for "["'.

Any help?



1 comment

oops. there is no way. try to limit youself to using of lists or other collections. sorry.


Please sign in to leave a comment.