beginner 2026年5月13日 コンストラクタのthis()とsuper()の制約 — なぜ1行目限定で両立不可なのか this()とsuper()がコンストラクタの1行目限定である理由、なぜ両立できないのか、循環コンストラクタ呼び出しをコンパイラが検出する仕組み、privateコンストラクタの意味を解説。 #java #beginner #constructor #this #super #constraints 記事へ →