Results 1 to 2 of 2
Thread: String array problem
- 02-02-2012, 08:51 PM #1
Member
- Join Date
- Oct 2011
- Posts
- 1
- Rep Power
- 0
- 02-02-2012, 08:55 PM #2
Re: String array problem
Your variable named a is null, so you can't dereference it. Yet you try to dereference it by using the index[] operator on it. Take a look at the tutorials to see how to initialize an array.
How to Ask Questions the Smart Way
Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!
Similar Threads
-
Searching a string in object array? For loop problem?
By java-newbie in forum New To JavaReplies: 2Last Post: 11-20-2011, 09:26 PM -
problem searching for a String element in a paralell array
By david185000 in forum New To JavaReplies: 4Last Post: 07-27-2010, 08:52 PM -
create a 2d char array from a 1D string array
By jschmall12 in forum New To JavaReplies: 1Last Post: 04-27-2010, 09:01 PM -
Searching In a String Array - Problem
By DillMan in forum New To JavaReplies: 4Last Post: 12-07-2008, 09:12 PM -
I can't seem to pass the value of a string variable into a string array
By mathias in forum Java AppletsReplies: 1Last Post: 08-03-2007, 10:52 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks