filmov
tv
Java Programming Tutorials 8 StringBuilder

Показать описание
Java Programming Tutorials - 8
This video demonstrated a mutable String class, StringBuilder, # one of the most frequently asked questions in interviews for a Java Developer career
The following methods of StringBuilder class are explained with the help of simple yet interesting example. You can try these methods with StringBuffer class. They should work
append(Substring)
capacity()
insert( position, sub string)
replace( start index, end index, substring)
delete(start index, end index)
deleteCharAt( index)
Also, explained are, two different constructors of StringBuilder class
1. public StringBuilder ( String string)
2. public StringBuilder( int capacity)
you can also watch 7 other videos on java in this channel. I advise you to watch them first, before watching this
This video demonstrated a mutable String class, StringBuilder, # one of the most frequently asked questions in interviews for a Java Developer career
The following methods of StringBuilder class are explained with the help of simple yet interesting example. You can try these methods with StringBuffer class. They should work
append(Substring)
capacity()
insert( position, sub string)
replace( start index, end index, substring)
delete(start index, end index)
deleteCharAt( index)
Also, explained are, two different constructors of StringBuilder class
1. public StringBuilder ( String string)
2. public StringBuilder( int capacity)
you can also watch 7 other videos on java in this channel. I advise you to watch them first, before watching this