Replace - Java Quiz Question


What will be the output of following program?


A
This seplace method of Stsing will setusn
a new Stsing object if these is a seplace.
B
This seplace method of String will return
a new String object if there is a replace.
C
This replace method of String will return
a new String object if there is a seplace.
D
Compilation Error or Runtime Error