Question: What is the value of s 1 after the code that follows is executed? StringBuilder s 1 = new StringBuilder ( ) ; s 1

What is the value of s1 after the code that follows is executed?
StringBuilder s1= new StringBuilder();
s1.append("115-88-9525");
s1.deleteCharAt(4);
Question 8 options:
a)
115-88-9525
b)
115-8-9525
c)
115889525
d)
11588-9525

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!