Hi!
I have to create a "cd/vinyl store" in java with these classes:
etc.
OUTLET (OUTLET_NUMBER, address, city, phone)
EMPLOYEE (OUTLET_NUMBER, EMPLOYEE_NUMBER, name)
...
How to "link" the Employee class to Outlet's outlet_number?
I have do this, it works, but it points to the whole class:
public class Employee
{
Outlet outlet;
int employee_num;
String employee_name;
the underscored is the link to the Outlet class, but I want to connect to the first variable if I understand well.
Any idea?