Thread
:
how to compare the elements of the two arraylists al1,al2
View Single Post
#
12
(
permalink
)
04-23-2008, 01:25 PM
Eranga
Moderator
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 2,338
Quote:
Originally Posted by
raj reddy
Exactly i need to compare only five elements in al2 at a time with all the elements of al1
note: in al2 there are 20 elements
in al1 there are only 5 elements
Sanjeev give a code for you. Think about the loops there. Sanjeev do the iteration for the complete size of the ArrayList. You need to do it for five elements.
__________________
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.
Eranga
View Public Profile
Send a private message to Eranga
Find all posts by Eranga