how to search the pertical objects in a Collections
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / 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 |
Have you used threads in Servelet?
How to do registration form using struts and hibernate?
i have a 1000 objects in data base i need to display those in jsp's how can i retrive those objects in jsp. (consider the performance issue)
What is a modular application? What does module-relative mean?
Why are component architectures useful?
whats is statement and procedure
What is waiting state? In what ways a thread can enter into waiting state?
Are we allowed to change the transaction isolation property in middle of a transaction?
What are preemptive scheduling and time slicing and what is the difference between them?
Why does most servlets extend HttpServlet?
What are the services in RMI ?
what are memory considerations of jsp compares to other web components?