What is the result?

Give: What is the result?

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



Leave a Reply 1

Your email address will not be published. Required fields are marked *


dwin

dwin

E

since the replace method have to assign the result to other string,
ex:
String svarNew = svar.replace(svar, “convertible”);