About Question enthuware.ocajp.i.v7.2.1380 :

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
Kevin_C
Posts: 14
Joined: Mon Nov 03, 2014 5:18 am
Contact:

About Question enthuware.ocajp.i.v7.2.1380 :

Post by Kevin_C »

First answer has

Code: Select all

int[][] array 2D = new int[][] { { 0, 1, 2, 4} {5, 6}};
With the explanation:
It is missing a comma between 4} and {5.
It should be: new int[][] { { 0, 1, 2, 4} , {5, 6}};


Even with this comma it would still have failed, since there is also a space between array and 2D. Personally I didn't even noticed the missing comma since I already noticed this space and knew it failed. :lol:

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

Re: About Question enthuware.ocajp.i.v7.2.1380 :

Post by admin »

True. that is a valid reason as well. Fixed.
thank you for your feedback!

Post Reply

Who is online

Users browsing this forum: No registered users and 15 guests