import java.io.*; import java.text.*; // //Switch Statement and File Input and Output (I/O) //Program has a bug. Can you spot it? // public class switch_io { static final int MAX=10; static String names []=new String[MAX]; static int scores []=new int[MAX];//allocate memory static int num_records=0; public static void Read(String infilename) throws IOException { BufferedReader in=new BufferedReader (new FileReader(infilename)); int count=0;//local variable try { while(count