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

Name the eight primitive java types.

1127


Will the general public have access to the infobus apis?

1047


What if the static modifier is removed from the signature of the main method?

1240


What modifiers may be used with an inner class that is a member of an outer class?

1062


Java is fully object oriented languages or not?

993


Can I use javascript to submit a form?

1143


what are the advantages of JTA over JTS?

2207


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

1078


What is re-entrant. Is session beans reentrant. Is entity beans reentrant?

1060


Why is actionform a base class rather than an interface?

1064


What is table mutation and how do you avoid it?

2467


Explain about thread synchronization inside a monitor?

2540


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

1153


What is a modular application?

1080


What is the map interface?

1123