Output Questions for Class 10 ICSE Computer Applications

Give the output of the following string functions:

"ACHIEVEMENT".replace('E', 'A')

Java

Java String Handling

ICSE 2018

32 Likes

Answer

ACHIAVAMANT

Working

All 'E' are replaced with 'A'.

Answered By

22 Likes