Java Programming:
Code a program that starts by creating a StringBuilder objectholding “Two men lost their seats”. Use StringBuilder methods toconvert this StringBuilder object to “Five younger women won theirseats in congress”. Verify the conversion by printing the string.Get the job done using chaining. For full points, you are requiredto use each of the following methods at least once in your methodschain:
replace()
delete()
insert()
append()
Expert Answer
An answer will be send to you shortly. . . . .