So I have to create three separate but related programs. First I have to make a
ID: 3618079 • Letter: S
Question
So I have to create three separate but related programs. First I have to make a program in eclipse (JAVA) that creates an array and array list for 10 items (it can be for ten different types of ice cream or cars or anything i guess). Then the second program is the same as the first but I have to modify the program s o that it adds 10 items to the array list. The third modigication is the same as the second but again I have to modify the program s o that it uses the store and get methods. Thank you for your help !!Explanation / Answer
1. int[] array={1, 2, 3, 4, 5, 6, 7, 8, 9, 10} 2. ArrayList arraylist= newArrayList(); arraylist.add(1); arraylist.add(2); arraylist.add(3); arraylist.add(4); arraylist.add(5); arraylist.add(6); arraylist.add(7); arraylist.add(8); arraylist.add(9); arraylist.add(10); 3.Which get/store methods are you referringto?Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.