How to use Strings as array in java ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 7

How to use Strings as array in java ?

String m="Sololearn"; String n="Shiva"; i Have to Find Same Words in this Two Strings Ans-S,a

9th Feb 2019, 3:02 AM
The Shiva
The Shiva - avatar
2 Answers
+ 6
Then, use for loop to search for the characters😉
9th Feb 2019, 4:37 AM
Muhd Khairul Amirin
Muhd Khairul Amirin - avatar
+ 5
Thanks
9th Feb 2019, 6:40 AM
The Shiva
The Shiva - avatar