+ 1
Please help my with this little code:https: //code.sololearn.com/cmhXYMD0TJ6O/?ref=app . I want to declare an arr if it null.
2 Answers
+ 10
Is this what you're expecting?
1. Don't re-declare arr inside if block
2. The last statement caused error because it was out of scope
I've changed indentation a little bit for my own convenience.
https://code.sololearn.com/cvl0ap14UGX8/#java
+ 1
please can somebody help my I get crazy