package strings; /** * If this class could be compiled, Java security would be a myth. */ public class WolfInStringsClothing extends java.lang.String {//EXPECT COMPILE ERROR public void setCharAt(int index, char newChar) { // The implementation of this method // would be left as an exercise for the reader. // Hint: compile this code exactly as-is before bothering! } }