Question: X 1 1 3 9 : Add entries from array to a HashMap Instead of writing lots of lines of code, we could put all

X1139: Add entries from array to a HashMap
Instead of writing lots of lines of code, we could put all the words in an array and then loop over the array adding them. You can assume that the size of the english array and the spanish one is equal.
Your Answer:
Feedback
void addwords(stringl) english, Stringt) spanish)
for (int i=0; i e eenumber of words in engtishssi 1+4) citctionary.put'(ecengtishss, eespanish >>):
0.01
Your answer could not be processed because it contains errrs:
line 3: error: illegal start of expression
 X1139: Add entries from array to a HashMap Instead of writing

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!