강의

멘토링

커뮤니티

Inflearn Community Q&A

heewon97's profile image
heewon97

asked

Spring MVC Part 2 - Backend Web Development Utilization Technology

Variables - SpringEL

HashMap 과 Map의 사용

Written on

·

204

0

Map<String, User> map = new HashMap<>();
map.put("userA", userA);
map.put("userB", userB);

 

왜 HashMap<String, User> map = new HashMap<>() 은 사용 못하는 걸까요?

springmvc

Answer 1

0

yh님의 프로필 이미지
yh
Instructor

안녕하세요. gmldnjs0402님

HashMap으로 사용하셔도 괜찮습니다 🙂

다음을 읽어보시면 도움이 되실거에요.

https://www.inflearn.com/questions/47449

감사합니다.

heewon97's profile image
heewon97

asked

Ask a question