下列这段代码已全部包含了我要写的String类中重要的字段: //StringMisc.java// This program demonstrates the length, charAt and getChars// methods of the String class.//// Note: Method getChars requires a starting point// and ending point in the String. The starting point is th…