public class Mumble extends Baz { //This will override the method from Baz public void method2() { //inherited from the super class this.m = 0; System.out.println("mumble 2"); } }