class Data {int x; }
class ReferenceParamEx{
public static void main (String[] args)
{
Data d = new Data ();
d.x = 10;
System.out.println("main(): x = "+ d.x);
}
static void change(Data d){
d.x = 1000;
System.out.println("change() : x = "+d.x);
}
}
class ReferenceParamEx{
public static void main (String[] args)
{
Data d = new Data ();
d.x = 10;
System.out.println("main(): x = "+ d.x);
}
static void change(Data d){
d.x = 1000;
System.out.println("change() : x = "+d.x);
}
}
오후 3:21 All files are up-to-date
오후 3:25 Compilation completed successfully in 2s 553ms
저게 전체 코드구요 자바를 처음 배워보고있 는데, 자바는 저정도 코드의 컴파일 시간이 2초가 넘게 걸리나요?
정상적인거같지가 않아서.. 환경설정이라던가 뭔가 잘못된게 있나 싶어서요 ㄷ
2초면 느린 것도 아닌데 왜 - return 0;
C에서 저정도 코드는 거의 바로바로 실행됬던 것 같은데 이렇게 차이가 크나 해서요 ㅋㅋ
케바케 2초면 긴거 아님 - return 0;
자바랑 인텔리제이랑 니 프로젝트를 전부 SSD에 넣으셈
자바가 땔깜언어라서 그런거 아닐까요?