+ 1
PLS HELP
takes no parameters and has return type HashMap of String to Integer. In this method, you may assume there is a file named "resident.csv" with lines in the format "heavily(Integer),regret(Integer),cluster(String),primarily(String),close(Integer)" where each Integer column contains only well-formed integers. There is no header line in this file. This method will return a new HashMap that maps "primarily" to "close" by putting one key-value pair into the HashMap for each line in "resident.csv"
3 Answers
+ 2
Post up what you've tried so far and what errors you're getting. Will be more than happy to help.
+ 1
https://www.sololearn.com/Course/Java/
^Keep going through the course for Java. You're not even 50% complete with the Java course, and all of these concepts are covered in the very last module. (Module 6) Continue with your studies and you'll get to the point of where you're learning those concepts, then you'll be able to easily accomplish said task.
Once you learn about hashmaps and file i/o, if you're still having an issue come back and post a question with your code/errors then we can help you out with it.
0
I dont know where to start i m confused with hashmaps and files together