Q. Which of these constructors is used to create an empty String object?

  • (A) String()
  • (B) String(void)
  • (C) String(0)
  • (D) None of the mentioned
πŸ’¬ Discuss
βœ… Correct Answer: (A) String()

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
162
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Gopal Sharma
Publisher
πŸ“ˆ
96%
Success Rate