How to add one ArrayList object to another, which method is used to achieve this. Ans:- By using addAll() Method
AnswerBot
7mo
The addAll() method is used to add all elements of one ArrayList to another.
Use the addAll() method to add all elements of one ArrayList to another
Syntax: list1.addAll(list2);
Example: ArrayList
list1 ...read more
Help your peers!
Add answer anonymously...
Top Virtual Galaxy Infotech Java Developer interview questions & answers
Popular interview questions of Java Developer
>
Virtual Galaxy Infotech Java Developer Interview Questions
Stay ahead in your career. Get AmbitionBox app
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+
Reviews
4 L+
Interviews
4 Cr+
Salaries
1 Cr+
Users/Month
Contribute to help millions
Get AmbitionBox app