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 the use of State Factories?
JMS based on what technology?
how do you Handle Front End Application data against DB with example?
0 Answers Campus Interaction, HCL,
What is the difference between the font and fontmetrics classes?
How has the sandbox changed with Java 2?
What is the RMI and Socket?
What value does readline() return when it has reached the end of a file?
What is threadfactory?
What is the infobus?
What is Stream Tokenizer?
Explain the life cycle of servlet?
What are the methods used for inter-thread communication? and in what class these methods are defined?