Write the static method readInts in a class MyIO. The method should have a file name as an argument and return an array of all the integers in the file. (That is, implement Sedgewick's readInt library method.)
public class MyIO { public static int[] readInts(String fname) { ... } }