About Question com.enthuware.ets.scjp.v6.2.404 :

All the posts and topics that contain only an error report will be moved here after the error is corrected. This is to ensure that when users view a question in ETS Viewer, the "Discuss" button will not indicate the presence of a discussion that adds no value to the question.

Moderators: Site Manager, fjwalraven

Post Reply
devlam
Posts: 50
Joined: Sun Nov 10, 2013 4:39 am
Contact:

About Question com.enthuware.ets.scjp.v6.2.404 :

Post by devlam »

int[ ] a[ ] = new int [5][4] ;
int[ ] a[ ] = new int[4][ ] ;

In the explanations of the above array declaration/initialization there is nothing said about the second dimension. This may look like there is no difference, but the first one is actually creating references to arrays of length 4 in the first dimension. The second doesn't put these references.

admin
Site Admin
Posts: 10388
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question com.enthuware.ets.scjp.v6.2.404 :

Post by admin »

Explanation has now been enhanced.
thank you for your feedback!

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest