I want to make a dictionary in JAVA
how it is done in python
and I see that it is not the same...
Search a bit and I think it can be done with HashMap
but it still throws me an error:
HashMap dict = new HashMap(String, Int)(); --> can't but
HashMap dict = new HashMap(String, String)(); -> yes you can
So, how do I put together an easy dictionary where I store, for example:
Names and exam marks...?