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 |
Is infobus easy to use?
In howmany ways a thread can be created?
How do you iterate in Hashmap?
what is meant by JRMP?
What is the purpose of the notify() method?
When a thread terminates its processing, it enters into what state?
Can I run seam with jdk 1.4 and earlier?
Hi frnds ,iam new to java and j2ee ,my requirement is using java or any j2eetech how to lock an user when he enter wrong credentials(uname&password) more than 3 times.take the username and passowrd in a bean no need to conned Db kindly provide me sample application code or and ideas or links or tutorials plzzzzz urgent for me thanks in advance...
Explain the purposes of methods wait(), notify(), notifyAll ()?
How we set Bean Id when we are creating web application using SpringMVC and Hibernet Integration
suppose i open my yahoo mail.then copy the url. then sign out & close browser.then open browser paste that url on the browser.will i get my mail opened or not? i know it ill not.but how it work.how i create like this type of secure site?
How to add new JTabbed pane?