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

Why use a datasource when you can directly specify a connection details?

1085


Difference between DurableSubscription and non- DurableSubscription?

2238


What is ioc concept & explain it?

1140


Difference between loadclass and class.forname?

1099


Can I use javascript to submit a form?

1202


What are callback interfaces?

1138


What is the RMI and Socket?

1101


Can I import same package/class twice? Will the jvm load the package twice at runtime?

1197


Do we need to override service() method

1790


What’s jboss cache in short?

1189


Can I map more than one table in a cmp?

1132


What is an abstract method?

1126


What are the difference between RMI and CORBA?

1171


What are the services in RMI ?

2447


Name three subclasses of the component class?

1164