연산자우선순위1 SCJP를 따볼까? 아래 코드의 8번째 줄에서 NullPointerException이 발생했다면 뭐가 잘못되었을까요? 1: public String toString() 2: { 3: String retValue = ""; 4: retValue = "StudProf ( " 5: + super.toString() + TAB 6: + "studProfId = " + this.studProfId + TAB 7: + "stud = " + this.stud == null? "" : this.stud.getStudId() + TAB 8: + "prof = " + this.prof == null? "" : this.prof.getEmpId() + TAB 9: + "type = " + this.type == null? "" : this.t.. 2007. 4. 29. 이전 1 다음