A

Admin • 828.03K Points
Coach

Q. Which is true about StringBuilder and String?

  • (A) Both are mutable
  • (B) Both are immutable
  • (C) String is immutable, StringBuilder is mutable
  • (D) StringBuilder is immutable

Explanation by: Admin
String is immutable, while StringBuilder allows modifications.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.