how to search the pertical objects in a Collections
Answer Posted / raj
We can search by contains(Object) method of collection
class. like
Arraylist list = new ArrayList();
list.add("a");
list.add("b");
if(list.contains("a")
{
--
--
}
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is glasgow?
What is the difference between long.class and long.type?
which type of objects reference will be given to client?
What is a modular application? What does module-relative mean?
Where can I ask questions and make suggestions about seam?
Are enterprise beans allowed to use thread.sleep()?
What is bean? Where can it be used?
What is synchronization and why is it important?
What is the purpose of the finally clause of a try-catch-finally statement?
What is aop(assepct oriented programing)?
Have you used threads in Servelet?
What are the oops concept?
Why a client should be multithreading? Explain.
Difference between DurableSubscription and non- DurableSubscription?
What is a modular application?