99 The string class is provided in the java library
10.22 (Implement the String class) The String class is provided in the Java library. Provide your own implementation for the following methods (name the new class MyString1): public MyString1(char[] chars);…