+ 1

Need help with arrays. Made a little code to assign multiple array a string if the arr is null. But not working :( PLZ help.

the code is : https://code.sololearn.com/cJXrpzBOAGzf/?ref=app

26th Nov 2017, 11:56 AM
jack
jack - avatar
6 Antworten
+ 3
that is because u haven't even declared the string [0] and [ 1]....so java cannot find the symbol and displays an error first declare the string
26th Nov 2017, 12:15 PM
Coding Niffler
Coding Niffler - avatar
+ 3
go through the array chapter thoughroly and check how to declare don't say sorry for asking questions u r improving urself by asking questions I am pleased to answer them never hesitate
26th Nov 2017, 4:59 PM
Coding Niffler
Coding Niffler - avatar
+ 2
Ur welcome
26th Nov 2017, 5:02 PM
Coding Niffler
Coding Niffler - avatar
+ 1
if you have questions PLZ ask
26th Nov 2017, 11:56 AM
jack
jack - avatar
+ 1
I thought I declare them with arr [0][0]="a" or how do I declare the sorry for my Newby questions
26th Nov 2017, 12:59 PM
jack
jack - avatar
+ 1
thanks duke
26th Nov 2017, 5:01 PM
jack
jack - avatar