Question: Q 3 ) Write a program to create an ArrayList and insert numbers 2 4 , 6 5 , 1 2 , 2 4 ,

Q3) Write a program to create an ArrayList and insert numbers
24,65,12,24,27,120,73,90,142.
a) Remove odd numbers from the list.
b) Find the maximum and the minimum element in the ArrayList.
 Q3) Write a program to create an ArrayList and insert numbers

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!