ExamPlay Dark Logo
दाखिल करना

Computer Science for IGCSE & O level - Programming (Section 7 - No. 34)

What is the output of "Hello".Substring(2, 2)?
He
ll
lo
llo

स्पष्टीकरण

Substring(startIndex, length). Starts at index 2 (the third character, 'l') and retrieves two characters, which is 'll'.

टिप्पणियाँ (0)

टिप्पणी करने के लिए लॉगिन करें
विज्ञापन
BrainBehindX Inc Logo
©2026; द्वारा संचालित BrainBehindX Inc