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 / siva thimmannagari

ArrayList a1=new ArrayList();
a1.add("shiva");
Object e[]=a1.toArray();
for(int i=0;i<a1.size();i++0
{
if(e[0].equals("inputstring");
}
}

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a class loader?

1923


What is the difference between ear, jar and war file?

1142


What is the difference between a static and a non-static inner class?

1158


what is an isolation level?

2762


What is the map interface?

1127


what is the use of State Factories?

2397


What are JTA/JTS and how they used by client?

2224


What are the different class loaders used by jvm?

1099


which type of objects reference will be given to client?

2486


Can you give me a simple example of using the requiredif validator rule?

1128


Explain how will the struts know which action class to call when you submit a form?

963


Do you think that java should have had pointers?

1065


Define the remote object implementation?

2512


What is clustering? What are the different algorithms used for clustering?

1083


Java is fully object oriented languages or not?

1011