6. How to make an Arraylist and add 5 numbers in Arraylist
AnswerBot
1y
Create an ArrayList and add 5 numbers to it.
Declare an ArrayList variable and initialize it
Use the add() method to add numbers to the ArrayList
Numbers can be of any data type (int, double, etc.)
Exampl...read more
Help your peers!
Add answer anonymously...
Top Verifone Backend Engineer Lead interview questions & answers
Popular interview questions of Backend Engineer Lead
Top HR questions asked in Verifone Backend Engineer Lead
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