In the above program, we created a classSamplethat contains two methodsMethod1()andMethod2(). After that, we created the object "$S" of theStudentclass and then called both methods that will print appropriate messages on the console screen. ...
c. Create a class called BankAccountSort that implements the SortableInterface interface. This class should use an array to hold BankAccount objects. We assume that the BankAccount class provides a constructor that accepts as an argument the initial ba...