You can use the constructor of subclasses on java it is a feature of polymorphism. You can't call methods from subclasses in that instance unless that method is overwritten in that subclass.
This is a menu-driven Java program for a standard deck of 52 cards. The program allows the user to perform various operations on the deck of cards, such as printing the deck, finding a specific card, ...
一部の結果でアクセス不可の可能性があるため、非表示になっています。
アクセス不可の結果を表示する