Tring out the io for java

I want to implement a way to export the balances of a bank account.