Assume you have process data with BanckAccount object, acct,…

Assume you have process data with BanckAccount object, acct, then you want to save date in the file, account.dat, consider the following code in the main(): FileOutputStream outStream =  new FileOutputStream(“account.dat”);ObjectOutputStream objectOutputFile = new ObjectOutputStream(outStream); objectOutputFile.writeObject(acct);objectOutputFile.close(); If the main() method does not handle or throw the exception,