Error is pointing to variable record : non-static variable record cannot be referenced from a static context.
public class RecordOption {
// global variable
String[][] record = new String[10][3];
// addRecords method
public static void addRecords(String studentRecords) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
System.out.print("Enter Student Number:");
String studNumber = br.readLine();
record[0][0] = studNumber;
}
}