StringBuffer s = new StringBuffer(“Hello”); s.capacity();
What will be returned by the function capacity()?
Reveal answer
Fill a bubble to check yourself
StringBuffer s = new StringBuffer(“Hello”); s.capacity();
What will be returned by the function capacity()?