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 is abstract schema?
Explain the steps in details to load the server object dynamically?
What restrictions are placed on the values of each case of a switch statement?
Which containers use a border layout as their default layout?
What are the difference between RMI and CORBA?
What does module-relative mean?
What is permgen or permanent generation?
Where we can write Rmi registry in the code, without having to write it at the command prompt?
Explain about RMI Architecture?
What is ioc concept?
What is ioc concept & explain it?
For which statements does it make sense to use a label?
In inglish: How to convert jar to exe files? Em português: Como converter arquivos .jar para .exe?
When a thread blocks on i/o?
Why do I get a duplicate name error when loading a jar file?