Re: Put each row into an array of strings?
Posted by: Filipe Silva
Date: July 21, 2014 11:09AM

Hi,

This line in your code «for (int i = 0, j = 0; j > 6 ; i++) {» is exiting the loop even before starting it - 'j' starts with value 0 so it can't be greater than 6.

Also, in Java you'll have to allocate space for the arrays before filling them.

Regards,
Filipe

Options: ReplyQuote


Subject
Written By
Posted
Re: Put each row into an array of strings?
July 21, 2014 11:09AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.