Untitled

 avatar
unknown
plain_text
a year ago
208 B
5
Indexable
class StringBufferExample
{
public static void main(String[] args)
{
StringBuffer sb1 = new StringBuffer("Hello World");
sb1.delete(0,6);
System.out.println(sb1);
sb1.delete(1,2);
System.out.println(sb1);
}
}
Editor is loading...
Leave a Comment