Submitted by Anonymous on Wed, 01/06/2010 - 23:25.
is getOrderId an instance method of Order? (It probably should be.) Why do you need to pass it in an Order then? It looks like a static method without the static keyword.
Reply
daily quotes
Programming is not a zero-sum game. Teaching something to a fellow programmer doesn't take it away from you. I'm happy to share what I can, because I'm in it for the love of programming.
getOrderId revisited
is getOrderId an instance method of Order? (It probably should be.) Why do you need to pass it in an Order then? It looks like a static method without the static keyword.