Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

how to search the pertical objects in a Collections

Answer Posted / raj

We can search by contains(Object) method of collection
class. like
Arraylist list = new ArrayList();
list.add("a");
list.add("b");
if(list.contains("a")
{
--
--
}

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different algorithms used for clustering?

1068


Write a program to show synchronization?

1146


What are the diff types of exception?

1055


What are the steps to write p-to-p model application?

2481


Define the remote object implementation?

2502


how do you Handle Front End Application data against DB with example?

1983


What is the difference between session and entity beans?

1116


what are the activation groupworks?

2199


Difference between new operator and class.forname().newinstance()?

1134


What is the difference between static and non-static with examples?

1945


Can I have an action without a form?

1105


How would you detect a keypress in a jcombobox?

1137


Is there a guarantee of uniqueness for entity beans?

1006


Why won’t the jvm terminate when I close all the application windows?

1245


What do you need to set-up a cluster with jboss?

1073