This construct
System.out.println(theEmployeeList.find("Jason").emName + " Found");
is bad because it don't handle a fail of
find
.
And when it fail,
theEmployeeList.find("Jason").emName
throw the exeption
<Exception in thread "main" java.lang.NullPointerException at Employee.main(Employee.java:38)>