우선순위 . 이 먼저 이기 때문에 ()로 감싸서 클래스 형식의 형변환을 해준다.

 

A가 부모 클래스 B가 자식 클래스

출처 : https://www.youtube.com/watch?v=vlkOwD828yg&list=PLq8wAnVUcTFV4ZjRbyGnw6T1tgmYDLM3P&index=73

+ Recent posts