Question:What is the difference between the String and StringBuilder class objects with respect to mutability? 

A String objects are mutable, while StringBuilder objects are immutable. 

B String objects are immutable, while StringBuilder objects are mutable. 

C There is no difference between them in this context, as both are immutable. 

D There is no difference between them in this context, as both are mutable. 

+ Answer
+ Report
Total Preview: 724

Copyright © 2024. Powered by Intellect Software Ltd