Thread
:
Quiz Time
View Single Post
#
46
(
permalink
)
05-08-2008, 01:50 PM
Eranga
Moderator
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 4,412
Quote:
Originally Posted by
rjuyal
"equals" first compares the reference ( using '==' ) then any other logic afterwards
Actually equals() method compares the characters that make up a String object.
Even though process is different. It actually creates two char arrays and puts the characters of each String objects in separate array and then performs the comparison.
__________________
Use an appropriate Subject. "Help, urgent!" isn't one.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Has someone helped you?
Then you can
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
their helpful post.
Want to make your IDE the best?
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Eranga
View Public Profile
Send a private message to Eranga
Find all posts by Eranga