Q. Which constructor creates an empty string buffer with the specified capacity as length.

  • (A) StringBuffer()
  • (B) StringBuffer(String str)
  • (C) StringBuffer(int capacity)
  • (D) None of the above
πŸ’¬ Discuss
βœ… Correct Answer: (C) StringBuffer(int capacity)

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
400
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Jatin Dubey
Publisher
πŸ“ˆ
92%
Success Rate