There are two ways you can relate two classes. Using a "Is A" relation and "Has A" relation. If you want to understand it in detail, following is an article i have written
Object Oriented...