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
X: 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 addwordsstringl english, Stringt spanish
for int ; i e eenumber of words in engtishssi citctionary.put'ecengtishss eespanish :
Your answer could not be processed because it contains errrs:
line : error: illegal start of expression
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
