How do I choose and edit a specific class that is in a java library using the str.replace method?
public String replace(char oldChar, char newChar)
This method returns a new string resulting from replacing all occurrences of oldChar in this string with newChar.
Therefore it is only possible to modify only argument of class methods.
To modify library class you may use inheritance and replace library class with your own class.
Need a fast expert's response?
Submit order
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Learn more about our help with Assignments:
JavaJSPJSF