Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- 취성패
- git pull --rebase
- camel case
- window10 Education
- 취업
- 자바
- 오블완
- 소비통장
- window10
- 런던뮤지컬
- 운영체제
- Spring Boot
- git pull
- json string
- git
- 방통대
- github
- 아임포트
- vmware workstation player
- 방송대
- IAMPORT
- git 설정
- snake case
- ObjectMapper
- window11 Education
- 윈도우10 Education
- 정처기
- window11
- java
- 티스토리챌린지
Archives
- Today
- Total
목록switch case문 (1)
솔솔 개발블로그

1. 오류 내용 An enum switch case label must be the unqualified name of an enumeration constant switch case문 작성 시 발생하는 오류이다. 2. 해결 switch case문에서 enum을 사용하려면, class명.enum값이 아닌 enum값만 적으면 된다. 3. 오류원인 관련 내용을 찾아보니 이런 답변을 찾았다. 링크 As per Java docs The Identifier in a EnumConstant may be used in a name to refer to the enum constant. 자바 문서에 따르면, enum상수의 식별자에서 이름(name)은 enum 상수를 참조하는데 사용될 수 있다. 정도로 해석하면 될 것 ..
프로그래밍/오류 정리
2022. 1. 8. 15:54