Q-13: | Write a JAVA program to show working of different methods of StringBuffer class:
append(); insert(); replace(); delete(); reverse(); capacity(); |
---|
OUTPUT
cmd-> javac StringBufferMethods.java cmd-> java StringBufferMethods Human HumanBeing HelloHumanBeing HelloWorld Hellod dolleH Capacity: 21