본문 바로가기

카테고리 없음

[java] Random cannot be resolved to a type

Exception in thread "main" java.lang.Error: Unresolved compilation problems: 

Randomc

=> 'Random cannot be resolved to a type'라는 에러메시지가 뜨는 경우 패키지가 import 되지 않았거나,

변수명이 다른 경우에 이런 에러를 출력 할수 있다.