Using the merge method of the Map interface, which statement correctly updates the salesTotalByDept map of type Map to update the sales total for a dept by an integer sales value? Question 3 options: salesTotalByDept. merge (dept, sales, (d, s) - > s + 1); sales. merge (salesTotalByDept, dept, (d, s) - > s + sales); dept. merge (salesTotalByDept, sales, (d, s) - > s + sales); salesTotalByDept. merge (dept, sales, (d, s) - > s + sales);
+4
Answers (1)
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “Using the merge method of the Map interface, which statement correctly updates the salesTotalByDept map of type Map to update the sales ...” 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.
Home » Computers & Technology » Using the merge method of the Map interface, which statement correctly updates the salesTotalByDept map of type Map to update the sales total for a dept by an integer sales value? Question 3 options: salesTotalByDept.