728x90
반응형
Type mismatch: cannot convert from 자료형 to 자료형
ex) Type mismatch: cannot convert from double to int
> 에러 발생 이유 : 데이터의 형식이 일치하지 않는다.
> 해결 방법 : 데이터 형식을 똑같이 맞춰주면 된다.
728x90
반응형
'Trouble Shooting(Error)' 카테고리의 다른 글
[Java_Error] java.util.NoSuchElementException (0) | 2022.03.24 |
---|---|
[Java_Error] NullPointerException (0) | 2022.03.10 |
[Java_Error] Implicit super constructor (class 이름) is undefined. Must explicitly invoke another constructor (0) | 2022.01.18 |
[Java_Error] java.io.FileNotFoundException (0) | 2022.01.15 |
[Java_Error] Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException (0) | 2022.01.14 |