1. public String makinStrings() {2. String s = “Fred”;3. s = s + “47”;4. s = s.substring(2, 5);5. s = s.toUpperCase();6. return s.toString();7. }