The output of the function "COMPOSITION". substring(3, 6):
Advertisements
प्रश्न
The output of the function "COMPOSITION". substring(3, 6):
विकल्प
POST
MPO
POS
MPOS
MCQ
Advertisements
उत्तर
POS
Explanation:
The substring() function returns characters from start to endindex-1. So "COMPOSITION".substring(3, 6) returns characters from index 3 to 5.
shaalaa.com
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 10: String Handling - Exercises [पृष्ठ २४६]
