This week's book giveaway is in the
We're giving away four copies of
and have Sam Newman on-line!
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
this week in the
Programmer Certification (SCJP/OCPJP)
language and utilities expert level question
Joined: Nov 29, 2002
Nov 03, 2004 13:48:00
what will be the output when the following code is compiled and run(assuming written inside main)?
s1 = new String("amit");
why does it print out False?i think s2==s3 is ture.cos both of them are "arit".
Joined: Dec 20, 2001
Nov 03, 2004 13:56:00
SCJP Tipline, etc.
Have you checked out
subject: language and utilities expert level question
doubt about Strings from Whizlabs
question on Strings
Doubt in Strings
one more on ==
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015