Computer Science · String Manipulation
Which of the following statements is TRUE regarding standard string length and substring operations in most programming languages like Java or C#?
- 1Specifying out-of-range indices may trigger a runtime out-of-bounds exception✓
- 2Both start and end indices are fully inclusive in standard substring parameters
- 3The length of the original string instance decreases dynamically after a substring is created
- 4Every substring operation creates a deep physical copy of the character array
Correct answer
Specifying out-of-range indices may trigger a runtime out-of-bounds exception
Download Single Question PDF
Save this question and verified answer as a clean study sheet with live clickable link.
Share with Friends & Study Groups
Challenge your peer aspirants on WhatsApp or Telegram to solve this question!
Preparing for Computer Science?
Practice full-length mock tests with real exam timers, instant score analysis, and all-India ranking.
Want more practice questions on String Manipulation?
Solve complete topic-wise tests with detailed solutions on GkGet.
Related Practice Questions
Recommended practice questions in Computer Science · String Manipulation