public class Employee
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
Employee(java.lang.String name,
int age,
int empId,
java.lang.String title,
int salary,
java.util.Set addresses)
Creates a new instance of Employee
|
Modifier and Type | Method and Description |
---|---|
int |
empId() |
int |
getAge() |
java.util.Set |
getPh(int empId) |
java.util.Set |
getPhoneNo(java.lang.String zipCode) |
java.lang.String |
getTitle() |
java.lang.String |
name() |
int |
salary() |