What is the use of collections in java? How it is
implemented in real time applications?

Answer Posted / srikanth reddy

they are used to store elements in java like arrays

ArrayList al=new ArrayList();
al.add("sri");
al.add(new Integer(99);

Is This Answer Correct ?    7 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is method overloading in JAVA? Why is it not present in C ?

586


What are basic keywords?

555


Can you call one constructor from another if a class has multiple constructors?

583


How to do encapsulation in java?

568


How many unicode characters are there?

550






Write a program to check for a prime number in java?

555


Why we use set in java?

514


What are class types in java?

574


What is math in java?

562


What is type parameter in java?

516


Can a class with private constructor be extended?

484


What is bubble sorting in java?

591


What is the console in java?

674


v-model life cycle

1618


What is string literal in java?

553