How do I choose and edit a specific class that is in a java library using the str.replace method?
1
Expert's answer
2015-03-02T09:04:17-0500
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.
"assignmentexpert.com" is professional group of people in Math subjects! They did assignments in very high level of mathematical modelling in the best quality. Thanks a lot
Comments
Leave a comment