So basically I have to design a program that carries out banking operations on a customers' account.
Now what I need to do is create a class for the customers Name, Address, Bank Account, Customer and Bank database.
I'm having trouble with creating the class Customer. I want my constructor to accept a Name object, Address object and Bank Account object however I don't remember how to do that. The Name, Address and Bank Account classes are set up already.
This is what I have for the constructor but I'm stuck.
public Customer( Name customerName, Address customerAddress, BankAccount customerBankAccount )
Did I set the constructor up right? If so, what the hell goes in the body?