previous | start | next

Answers

  1. One implicit parameter, called this, of type BankAccount, and one explicit parameter, called amount, of type double.
  2. It is not a legal expression. this is of type BankAccount and the BankAccount class has no field named amount.
  3. No implicit parameter–the method is static–and one explicit parameter, called args.