Q. Which of the following is true about Java strings?

  • (A) Strings are mutable.
  • (B) Strings can contain only letters.
  • (C) Strings can have a null value.
  • (D) Strings are implemented as arrays of characters.
πŸ’¬ Discuss
βœ… Correct Answer: (C) Strings can have a null value.
Explanation: Java strings are sequences of characters used to store and manipulate text data.
Explanation by: Sandhya Thakur
Java strings are sequences of characters used to store and manipulate text data.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
96
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Sandhya Thakur
Publisher
πŸ“ˆ
89%
Success Rate