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

Can you access the private method from outside the class?

514


What is the difference between JVM and JRE?

626


What is the difference between the final method and abstract method?

542


Why is boolean important?

595


String class is defined under which package in java?

627






What is a method signature java?

581


Difference between operator overloading and function overloading

617


Why do we override tostring method in java?

514


What is the difference between a factory and abstract factory pattern?

687


What does yield method of the thread class do?

583


Explain about transient variables in java?

649


What is widening and narrowing in java? Discuss with an example.

563


What is string and its types?

616


Can we have a method name same as class name in java?

583


hi am an engineering student and my next plan is for ms in either in us or australia i got my passport but i dont know anything bout visa can u give brief idea 1)How to get prepared for visa and 2)How to apply for top universities and 3)How to pay the fee and so on These all are basic questions plz give me a clear idea

1465