This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
All of the StringBuffer methods operate on the value of the StringBuffer objects invoking the method. So why do some of the StringBuffer methods such as append, insert, reverse have StringBuffer as a return type? What is the point of this? The only reason I can think of is so that method calls can be chained to each other. Is this correct? Or am I missing something? Thanks. Mansi