Re: when using equals method with a null string...
- From: njzy333@xxxxxxxxx
- Date: 10 Mar 2006 08:29:36 -0800
Hello Tony,
That is strange. The difference between your code and my code is that I
declared both strings to be private, and neither are NEWed. I changed
my code according to your example, and I'm still getting an exception.
I guess there is a slight difference in our environment or libraries?
I'm using NetBeans with Java 1.5.
Thanks.
.
- Follow-Ups:
- Re: when using equals method with a null string...
- From: Hendrik Maryns
- Re: when using equals method with a null string...
- From: Oliver Wong
- Re: when using equals method with a null string...
- References:
- when using equals method with a null string...
- From: minjie
- Re: when using equals method with a null string...
- From: Tony Burrows
- when using equals method with a null string...
- Prev by Date: Re: Magic number in Boolean
- Next by Date: Re: Compiler telling me I have 1.4 JDK when i have 1.5 wont compile generics code
- Previous by thread: Re: when using equals method with a null string...
- Next by thread: Re: when using equals method with a null string...
- Index(es):
Relevant Pages
|