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 state does a thread enter when it terminates its processing?
What is the difference between system.out ,system.err and system.in?
How are the elements of a borderlayout organized?
what is meant by JRMP?
What is the difference between static and non-static with examples?
What is mdb and what is the special feature of that?
What is a modular application?
Difference between hashmap and hashtable?
which type of objects reference will be given to client?
Brief description about local interfaces?
What’s jboss jbpm?
Explain phantom read?
What are the different algorithms used for clustering?
Is it possible to stop the execution of a method before completion in a sessionbean?
What is synchronization and why is it important?