Question: Write and test your own code of the following function: void getChars(String src, int srcBegin, int srcEnd, char[] dest, int destBegin) This function copies the
Write and test your own code of the following function: void getChars(String src, int srcBegin, int srcEnd, char[] dest, int destBegin) This function copies the characters of String src to the dest array Only the specified range is being copied (srcBegin to srcEnd) to the dest subarray (starting fromdestBegin). String replace (String src. char oldChar. char newChar) This function returns the new updated string after changing all the occurrences of oldChar with the newChar. String toUpperCase(String src) Converts the string to upper Case string (all letter* are uppercase)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
