Accounting Equation Format Class In Java