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 |
What is a policy?
What modifiers may be used with an interface declaration?
Explain about thread synchronization inside a monitor?
Is the infobus client side only?
whether the connectionpooling used in struts?
Difference between JRE and JVM?
3 Answers HeadStrong, Infotech,
What is the difference between long.class and long.type?
Can a thread be a member of another thread?
What are the different methods of identifying an object?
When is the best time to validate input?
If I define a method in JSP scriplet <%..%>, where will it go after translation into a servlet?
How to add new JTabbed pane?