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
Name the eight primitive java types.
Will the general public have access to the infobus apis?
What if the static modifier is removed from the signature of the main method?
What modifiers may be used with an inner class that is a member of an outer class?
Java is fully object oriented languages or not?
Can I use javascript to submit a form?
what are the advantages of JTA over JTS?
For which statements does it make sense to use a label?
What is re-entrant. Is session beans reentrant. Is entity beans reentrant?
Why is actionform a base class rather than an interface?
What is table mutation and how do you avoid it?
Explain about thread synchronization inside a monitor?
Can I import same package/class twice? Will the jvm load the package twice at runtime?
What is a modular application?
What is the map interface?