I am confused to why I am getting the following output to screen:
Account details for: ******************** This is the decimal format to two places: 600.00 Formating currency: java.text.DecimalFormat@67500 Steven Peter Charlton : Account No: 8945 Balance: 600.00
In particular the following line: Formating currency: java.text.DecimalFormat@67500
Could someone please explain?
Joined: Jul 11, 2001
DecimalFormat doesn't implement the toString method and therefore uses the one inherited by Object. Take a look at the JavaDoc for both classes...
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus