Saturday, October 1, 2011

Chapter 3 test

Explain the purpose of class ConvertToCents
You need a class to convert into cents because then you will know how many quarters, dimes, nickels I will need. So like if you have 1.5 cents, the code will give us 1 cent and 2 quarters...(right?)

I... keep on getting this error called

java.lang.NullPointerException
at Transaction.getChange(Transaction.java:32)

Null... I feel like I heard that very very often... .

Sunday, September 11, 2011

Chapter 3 question

https://docs.google.com/document/d/1XNw_8B-W1IkSt8Higwuss2muGaF2IEYtrjxwk1AuLm0/edit?hl=en_US