ExamPlay Light Logo
Ingia

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

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

Maelezo

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

Maoni (0)

Ingia Ili Kutoa Maoni
Tangazo
BrainBehindX Inc Logo
©2026; Inaendeshwa Na BrainBehindX Inc