A
Q. What does the following string do to given string str1.
Code:
String str1 = “chandrakant”.replace(‘c’,’s’);
- Correct Answer - Option(B)
- Views: 19
- Filed under category Java
- Hashtags:
Discusssion
Login to discuss.