13.4 StringBuffer object by new operator
Can we create StringBuffer object by using new operator?
- We can create StringBuffer object by using new operator.
Syntax
StringBuffer stringBuffer = new StringBuffer(“Nireekshan”);
Thanks for your time.
Nireekshan