Q. Consider the following code snippet String river = new String(“Columbia”); System.out.println(river.length()); What is printed?

  • (A) 6
  • (B) 7
  • (C) 8
  • (D) Columbia
πŸ’¬ Discuss
βœ… Correct Answer: (C) 8

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
147
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
99%
Success Rate