//원형(변환할타입의클래스이름)변환할참조변수;//s:예시classParent{}classChildextendsParent{}classBrotherextendsParent{}Parentpa01=null;Childch=newChild();Parentpa02=newParent();Brotherbr=null;pa01=ch;// pa01 = (Parent)ch; 와 같으며, 자식 to 부모라서 명시 생략br=(Brother)pa02;//부모 to 자식이라서 명시 필수br=(Brother)ch;//부모가 같은 거지 자식끼리는 상속 관계가 아니라서 오류 발생//e:예시