[java ee programming] Re: unclear new Object declaration

2009-03-19 Thread Lars Hermes
Hello, to answer your question: NO it is not the same! In the first case you you only declare a variable of type Manager which has no reference to an object (i.e. null). In the second case you also create an object of type Manager and you immediately assign a reference to a newly created

[java ee programming] Re: unclear new Object declaration

2009-03-18 Thread X. Yin
hi, there's no around null... just Manager mgr = null; Thanks XH On Wed, Mar 18, 2009 at 12:31 PM, JAaronAnderson.com acompetitorschalle...@gmail.com wrote: I am trying to discern another programmer's code (good luck I know) In a class that tests connectivity to a datasource, the first