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 the use of optional ?

804


How many types of gc are there in java?

760


What is java reflection?

762


What is nested interface?

754


Can a top level class be private or protected?

793


What is the java reflection api? Why it’s so important to have?

760


How many characters is 16 bytes?

760


Can we declare main () method as non static?

721


What initialize variables?

717


What is the arraylist in java?

756


How many types of assembly languages are there?

733


How do you override a private method in java?

699


What do you mean by global variable?

719


Does apple use java?

710


What is exception in java?

760