@@ -0,0 +1,449 @@
+import java.util.*;%0Aclass Sports%7B%0A%0A    String getName()%7B%0A        return %22Generic Sports%22;%0A    %7D%0A%0A    void getNumberOfTeamMembers()%7B%0A        System.out.println( %22Each team has n players in %22 + getName() );%0A    %7D%0A%7D%0A%0Aclass Soccer extends Sports%7B%0A    @Override%0A    String getName()%7B%0A        return %22Soccer Class%22;%0A    %7D%0A%0A    @Override%0A    void getNumberOfTeamMembers() %7B%0A        System.out.println( %22Each team has 11 players in %22 + getName() );%0A    %7D%0A%7D%0A

Solve java method overriding