In the following Java example the method createBankAccount is used to create a BankAccount object for a bank management application.
(bad code)
public BankAccount createBankAccount(String accountNumber, String accountType,
String accountName, String accountSSN, double balance) {