Difference between StringBuffer and StringBuilder

Pubblicato il: 14 aprile 2020
sul canale di: Java code&Decode
63
6

Difference between StringBuffer and StringBuilder
StringBuffer StringBuilder
From JDK 1.0 From JDK 1.5
The storage area is heap and modified easily. Storage is heap and can be modified.
StringBuffer is thread-safe. StringBuilder is fast as it is not thread-safe.
The performance is very slow. The performance is very fast.
StringBuffer methods are synchronized StringBuilder is non-synchronized.


In questa pagina del sito puoi guardare il video online Difference between StringBuffer and StringBuilder della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Java code&Decode 14 aprile 2020, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 63 volte e gli è piaciuto 6 spettatori. Buona visione!