2014년 9월 8일 월요일

static, non-static var

static 메서드의 리턴타입은 static reference이다. 만일 static 메서드에서 non-static의 전역변수를 return할 경우, compile에러가 발생한다.

댓글 없음 :

댓글 쓰기