+ 2
WHY?? đ”
why this code is not giving output? Whats the problem? When i input = "1 abcd". https://code.sololearn.com/cKVij4wpbjN8/?ref=app
1 Answer
+ 4
Do not confuse reference comparison with content comparison.
if(array[i].equals("1"))
why this code is not giving output? Whats the problem? When i input = "1 abcd". https://code.sololearn.com/cKVij4wpbjN8/?ref=app