0
Retrieve the value of the object according to each key.
I'm getting an error warning in the Kotlin programming language code I wrote. The error message is as follows: Todo 2 should pick up the value of the vehicle object according to each key. In the previous review, this code is correct (according to the reviewer). But in review this time the code is considered wrong. How do I fix? The code I've written you can see here (if there's one wrong in the coding, you can help to fix it): https://code.sololearn.com/cHtc3l1T7Q2s/#kt Thank you in advance, hope your day is fun!
2 odpowiedzi
+ 1
would do it like that
https://code.sololearn.com/cRhNz2YQC3Ax/?ref=app
0
Wrong again. The message from reviewer (On "data class") :
"Todo on this exercise should be done by utilizing MAP, a collection that can store data in a key-value format. Please check the conditions of the exercise again."
How?