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
What are the different class loaders used by jvm?
Which javutil classes and interfaces support event handling?
Which container method is used to cause a container to be laid out and redisplayed?
What are various types of class loaders used by jvm?
How a component can be placed on Windows?
What is message driven beam?
Why use a datasource when you can directly specify a connection details? (in a J2EE application)
Do I need to import javlang package any time? Why ?
Is the infobus client side only?
What is a class loader? What are the different class loaders used by jvm?
What is JTS?
Can we sent objects using Sockets?
In our urls and in the text of the buttons we have comma. Its causing an error. Is there a way to change the delimiting character for the menu arguments?
Difference between hashmap and hashtable?
Will the general public have access to the infobus apis?