ASPECT ORIENTATED PROGRAMMING © University of Liverpool COMP 319 slide * COMP319 The problem Code scattering class BankAccount { public void transfer(int amount,BankAccount…