Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
同じ抽象クラスを使用する異なるクラスの配列リストを作成しようとしています。
ただし、このエラーが発生します。
<identifier> expected, illegal start of type, package list does not exist.
すべてはイメージで。
リストの種類は次のとおりです。
ArrayList <? extends Employee> list = new ArrayList<>();