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
What is the difference between a menuitem and a checkboxmenuitem?
What is re-entrant. Is session beans reentrant. Is entity beans reentrant?
What is the relation between the infobus and rmi?
What if the static modifier is removed from the signature of the main method?
Why does the tag url-encode javascript and mailto links?
Are we allowed to change the transaction isolation property in middle of a transaction?
what is the use of State Factories?
hi friends, i have done my BE(CSE)at 2011 then i have joined one company before they asked me 50k so i paid but now they telling no project here so we r going to close like that so now i need any job i have good knowledge in core java and j2ee(jsp,servlet,jdbc) so if u know any job pl help me
What are the oops concept?
Is jvm a overhead?
when A client sent a request to the server to open facebook page and close the browser after this request .at that time the same user do login by using a different browser then that session id will exist or not for the same client??
What is the difference between static and non-static with examples?
Write a singleton program?
What is the difference between a static and a non-static inner class?
Explain what is synchronization?