Hi,
Previously i created two classes one is "Employee" and "EmployeeTest". From "EmployeeTest" class i created object then call the methods tat is proper oops program. You can reuse the methods....
Type: Posts; User: Ganeprog
Hi,
Previously i created two classes one is "Employee" and "EmployeeTest". From "EmployeeTest" class i created object then call the methods tat is proper oops program. You can reuse the methods....
Hi,
You can structure like this,
class Employee
{
private String firstName;
private String lastName;