empData is a class that helps emp.java to execute