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 we modify the throws clause of the superclass method while overriding it in the subclass?

648


what do you mean by stream pipelining in java 8? Explain

617


How we can make copy of a java object?

753


What are the rules for variable declaration?

584


What is mnemonic code?

658






What is the difference between static binding and dynamic binding?

669


What is appletviewer?

682


What is the main use of java?

670


Does java isempty check for null?

664


What is package private scope in java?

617


What is the platform?

613


Which package has light weight components?

660


What is the purpose of tostring() method in java?

646


Explain about assignment statement?

701


What is quick sort in java?

658