Solved

StringBuilder Greeting = New StringBuilder("Day 1");

Question 69

Essay

StringBuilder greeting = new StringBuilder("Day 1");
Using the above StringBuilder , create a setCharAt() method that will change the "1" to a "2" in the String "Day 1" . Explain how the setCharAt() method operates.

Correct Answer:

verifed

Verified

greeting.setCharAt(4, '2'); To alter jus...

View Answer

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents