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 / manas

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

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is abstract schema?

1022


Explain the steps in details to load the server object dynamically?

5103


What restrictions are placed on the values of each case of a switch statement?

1014


Which containers use a border layout as their default layout?

1139


What are the difference between RMI and CORBA?

1112


What does module-relative mean?

1160


What is permgen or permanent generation?

1026


Where we can write Rmi registry in the code, without having to write it at the command prompt?

2771


Explain about RMI Architecture?

1078


What is ioc concept?

1204


What is ioc concept & explain it?

1083


For which statements does it make sense to use a label?

1078


In inglish: How to convert jar to exe files? Em português: Como converter arquivos .jar para .exe?

2675


When a thread blocks on i/o?

1096


Why do I get a duplicate name error when loading a jar file?

1145