can objects be stored in hashmap?
Store objects in memory with Java HashMap. In Java HashMap object provides key/value pairs for storing information in memory. You can store any data type combination as long as the keys are unique.