Give the output of the following string functions: (i) “ACHIEVEMENT”.replace(E’, ‘A’) (ii) “DEDICATE”.compareTo(“DEVOTE”)
Advertisements
प्रश्न
Give the output of the following string functions:
- “ACHIEVEMENT”.replace(E’, ‘A’)
- “DEDICATE”.compareTo(“DEVOTE”)
थोडक्यात उत्तर
Advertisements
उत्तर
- ACHIAVAMANT
- –18
shaalaa.com
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
