Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Which are the differences between the three (String, BigDecimal and Integer formats)?

 
André Asantos
Ranch Hand
Posts: 234
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which are the differences between the three (String, BigDecimal and Integer formats)?

bye,
André AS
 
John de Michele
Rancher
Posts: 600
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Andre:

They're different classes. You should check out the javadocs for them, which will be far more educational than having someone tell you.

John.
 
Campbell Ritchie
Sheriff
Pie
Posts: 49789
69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you looked at what they are for? They are for things like "Campbell Ritchie" or 123.45 or 123. Completely different from each other.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic