ExamPlay Light Logo
Entrar

Computer Science for IGCSE & O level - Programming (Section 8 - No. 17)

What will this code print? `print "Hello".length()` (Assuming a language where length is a method of strings)
Hello
5
Hello.length
"" (empty string)

Explicação

The length method counts the number of characters in the string.

Comentários (0)

Faça login para comentar
Anúncio
BrainBehindX Inc Logo
©2026; Distribuído por BrainBehindX Inc