Advertisement
Guest User

Untitled

a guest
Mar 20th, 2018
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. public void printEmployeeInfo(String emplyNum) {
  2. Employee foundEmployee = null;
  3.  
  4. foundEmployee = validateNum(emplyNum);
  5.  
  6. if (foundEmployee != null) {
  7. foundEmployee.toString();
  8. } else
  9. System.out.println("The employee " + emplyNum + " already exists. Can't add.");
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement