To add a mixin's capabilities to a class, just extend the class with the mixin. class PilotedCraft extends Spacecraft with Piloted { // ··· }.
確定! 回上一頁