Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void printEmployeeInfo(String emplyNum) {
- Employee foundEmployee = null;
- foundEmployee = validateNum(emplyNum);
- if (foundEmployee != null) {
- foundEmployee.toString();
- } else
- System.out.println("The employee " + emplyNum + " already exists. Can't add.");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement