Which of the following returns a String?

ICSE Class 10 Computer Applications PYQ · 2025 Specimen · Section A

1(vii)1 Mark · 2025 · Section A · 2025 Specimen

Which of the following returns a String?

Show SolutionHide Solution↓

replace(char, char)

Reason — The given methods return:

MethodReturn
Type
length()int
charAt(int)char
replace(char, char)String
indexOf(String)int
← Previous questionNext question →

Share on WhatsApp

Browse the free Computer Applications sample bank