Java Tutorials: StringBuilder Class Methods - 1

Pubblicato il: 03 febbraio 2018
sul canale di: 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


In questa pagina del sito puoi guardare il video online Java Tutorials: StringBuilder Class Methods - 1 della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Ebenezer Edet 03 febbraio 2018, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 27 volte e gli è piaciuto 0 spettatori. Buona visione!