Java Programming - String Buffer

Array is a collection of similar type of elements that have a contiguous memory location.

Java array is an object which contains elements of a similar data type. It is a data structure where we store similar elements. We can store only a fixed set of elements in a Java array.

Java Basic Programming: String Buffer

Delete StringBuffer function

Write a java program to test “delete” StringBuffer function. The delete() method of StringBuffer class deletes the string from the specified beginIndex to endIndex.

Read More »