Kurse
AnmeldenBeginne KI zu lernen
Kurse
AnmeldenBeginne KI zu lernen
+ 2

WHY?? 😵

why this code is not giving output? Whats the problem? When i input = "1 abcd". https://code.sololearn.com/cKVij4wpbjN8/?ref=app

javaarraysplitcomparison
18th May 2020, 11:10 AM
Abhay Kalsi
Abhay Kalsi - avatar
2 Antworten
+ 4
Do not confuse reference comparison with content comparison. if(array[i].equals("1"))
18th May 2020, 11:18 AM
Avinesh
Avinesh - avatar

Häufig solche Fragen?

Effizienter lernen, kostenlos:

  • Einführung in Python

    7.1M Lernende

  • Einführung in Java

    4.7M Lernende

  • Einführung in C

    1.5M Lernende

  • Einführung in HTML

    7.5M Lernende

Alle Kurse anzeigen
Heute heiß
Hello can anyone help me to learn gdscript
0 Votes
What coding language should i use to make a custom coding language?
0 Votes
Anyone Learning Godot?
1 Votes
hello world i need help
2 Votes
Any easy game ideas for beginners?
0 Votes
Which is more important CSS vs HTML vs JS?
1 Votes
How many courses are there on Sololearn
1 Votes
hi
1 Votes
Which databases are the best at injecting dynamic data within websites, and how can you achieve it?
0 Votes
How to increase My Level is SoloLearn ?
0 Votes