Chocolate Chip Cookie
본문 바로가기
Java/자바 erorr 노트

자바 에러 원인 분석 1

by Khookie 2020. 10. 16.

1. Cannot instantiate the type A

A 객체를 new 생성 하려 했을때 발생 : 원인은 A 가 추상 클래스라 객체화 불가능 했던것

 

 

2. The constructor classA(String) is undefined

  생성자에 반환형을 적어버려서

발생

 

 

 

'Java > 자바 erorr 노트' 카테고리의 다른 글

개발환경 에러 노트  (0) 2021.05.30

댓글