What package is Customer in? Just use
|
Code:
|
import (package).Customer; |
in the file in which you wish to use Customer class, then do:
|
Code:
|
Customer customer = new Customer();// |
in the Shopping Cart class, whatever methods you need in Shopping Cart, write them in Customer and they will show up on customer.