Data Structure – codewindow.in
Related Topics Data Structure Question 56 How to declare and initialize a string buffer in Java? Answer In Java, a StringBuffer is a mutable sequence of characters. It can be declared and initialized using the following code: StringBuffer sb = new StringBuffer(); You can also initialize a StringBuffer with a string as shown below: String […]