Leave a Reply to Snr DingDong Cancel reply1

Your email address will not be published. Required fields are marked *

7 − seven =


Snr DingDong

Snr DingDong

Answer is B. StringBuilder int constructor takes an int and creates empty obj with the int as a capacity. Call its toString and it will return an empty string. So
sb.toString().equals(s) will return true.

“”.equals(“”) in other words