Strings | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Strings

I feel that in the java course should have a deeper look into strings. cause i dont quite get the "substrings", "charAt()", or the different methods used in strings like "Equality()", "compareTo()", "trim()", and things like immutability. sure I know of it but i only have a small understanding of it and dont quite understand it to put it into use..

10th Mar 2019, 4:25 PM
James Daniel Lopez
James Daniel Lopez - avatar
1 Answer
+ 2
You can find a lot of examples e.g. Here: https://www.tutorialspoint.com/java/java_strings.htm Also it may be useful to look at the challenges, particularly those that deal with text (like password validation and stuff) and check some sample Java solutions.
10th Mar 2019, 6:40 PM
Tibor Santa
Tibor Santa - avatar