posted 10 years ago
Hi guys, I need help regarding my assignment...i am beginner in Java....my query is like: "i want to create hashmaps where the inner hashmap contains the key as firstname and value as a Class Student which contains parameters firstname, lastname,etc. I need this hashmap to be accessed by other objects of different classes". Please, help me out?
Here I have a main class
As we give the values by Scanner, it should be Stored in Hashmap and how those values can be accessed by other object classes?
How does the Logic works? What my next step?