Leetcode in Java && Oracle
image_2021-11-07_20-19-50.png
#useful
Till this time, we used only Strings to add Strings each other, but we got the point that this is not efficient at all. So then, we will use the StringBuilder class as they are mutable unlike String. And they are more efficient in adding and reversing Strings.
For more info: https://docs.oracle.com/javase/9/docs/api/java/lang/StringBuilder.html
Till this time, we used only Strings to add Strings each other, but we got the point that this is not efficient at all. So then, we will use the StringBuilder class as they are mutable unlike String. And they are more efficient in adding and reversing Strings.
For more info: https://docs.oracle.com/javase/9/docs/api/java/lang/StringBuilder.html