Results 21 to 23 of 23
Thread: getting integers from a string
- 02-18-2011, 05:25 AM #21
- 02-18-2011, 05:29 AM #22
The split method creates an array. You then get lineData to refer (point at) that array. So you are initialising the lineData variable with an array returned from the split method. You do not/have not initialised the matrixData variable. It is null. It does not refer to an array. So you cannot start shoving values into it until you do create the array.
- 02-18-2011, 05:34 AM #23
Similar Threads
-
Sum of Integers - From File
By Cubba27 in forum New To JavaReplies: 8Last Post: 03-25-2010, 11:45 AM -
Set of Integers
By rsjava24 in forum New To JavaReplies: 7Last Post: 01-28-2010, 10:29 AM -
Integers and Lists
By TGH in forum New To JavaReplies: 8Last Post: 01-27-2010, 09:49 AM -
Multiples Integers from a String
By AndrewM16921 in forum New To JavaReplies: 3Last Post: 04-01-2009, 12:00 AM -
how to get the Integers out of a String
By JordashTalon in forum New To JavaReplies: 10Last Post: 01-30-2009, 06:28 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks