Descripción
Sintaxis
public final class StringBuffer extends Object implements Serializable, CharSequence
Constructores
Métodos
- append()
- appendCodePoint()
- capacity()
- charAt()
- chars()
- codePointAt()
- codePointBefore()
- codePointCount()
- codePoints()
- delete()
- deleteCharAt()
- ensureCapacity()
- getChars()
- indexOf()
- insert()
- lastIndexOf()
- length()
- offsetByCodePoints()
- replace()
- reverse()
- setCharAt()
- setLength()
- subSequence()
- substring()
- toString()
- trimToSize()
Ejemplo
StringBuffer sb = new StringBuffer("texto");
Líneas de Código
Vídeos Java
Disfruta también de nuestros artículos sobre Java en formato vídeo. Aprovecha y suscribete a nuestro canal.