Ask Question
4 November, 07:02

How would you add the double 75.6 to the end of an ArrayList of Doubles named myDoubles?

(This is Java Programming btw)

+5
Answers (1)
  1. 4 November, 10:19
    0
    myDoubles. add (75.6);

    Explanation:

    ArrayList myDoubles = new ArrayList ();

    myDoubles. add (10.8);

    myDoubles. add (92.46);

    myDoubles. add (75.6);

    The above code creates a double ArrayList called myDoubles. We add 10.8 and 92.46 initially. After these numbers, 75.6 is added to the myDoubles using add method (You need to type the list name, ".", and the method name to add the number)
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “How would you add the double 75.6 to the end of an ArrayList of Doubles named myDoubles? (This is Java Programming btw) ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers