basically, all you've done is said "Hey Java!!! At some point I'm going to use the name posService to refer to a PosService object!!!" You have not yet actually CREATED the object yet - you've just given it a name. It's like telling your best friend "I'm going to get a dog and name him 'fluffy'".
You can't actually tell fuffy to 'sit' yet, since he's not there - you have to get him from the shelter.
There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
Joined: Oct 13, 2008
Thanks to all!....Jason, that worked!!! Thanks a mil!