Java Tutorials: StringBuilder Class Methods - 1

Veröffentlicht am: 03 Februar 2018
auf dem Kanal: Ebenezer Edet
27
0

In this tutorial, we take a look at the StringBuilder class.
Strings are immutable meaning they cant e destroyed once created, but a StringBuilder is mutably making it the best option for string manipulation.
The following are a few methods amongst many:

append(): This method appends a string to the created/ declared StringBuilder object.

capacity(): This method gets the capacity of the StringBuilder which is gotten by the formula 16 + number of characters including white spaces.
charAt(index): This method returns the character at the specified index in the StringBuilder object.
Sit, Enjoy and Learn.

Tutorial codes can be gotten from this Github repository: https://github.com/generalkolo/Javacodes


Auf dieser Seite können Sie das Online-Video Java Tutorials: StringBuilder Class Methods - 1 mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Ebenezer Edet 03 Februar 2018 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 27 Mal angesehen und es wurde von 0 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!