Dynamic proxies Write a program that relies on dynamic proxies for counting the number of invocations of the methods of the given interfaces.