abstract class 무기{ abstract void 공격(); //리모콘 전용 // abstract 가있으면 객채화 x }
abstract가 있으면 class 앞에도 abstract를 써줘야 합니다.