I have 2 classes
public class Customer{
...
public String getCustomerNumber();
...
}
public class Applicant{
....
private Customer c;
public Cust
Before coming into the method names , the class hierarchy is little bit confusing...
public class Customer{
...
public String getCustomerNumber();
...
}
public class Applicant{
....
private Customer c;
public Customer getCustomer(){ return c; }
...
}
Why should applicant and Customer be different objects ? Can you tell the relation between these objects ?