Give: What is the result?
A.
IllegalFormatConversionException is thrown at runtime
B.
There are 9 convertibles and 5 trucks
C.
There are 27 sports cars and 5 trucks
D.
There are 27 convertibles and 5 trucks
E.
There are 9 sports cars and 5 trucks
E
since the replace method have to assign the result to other string,
ex:
String svarNew = svar.replace(svar, “convertible”);