public class Superclass {

    public void printMethod() {
        System.out.println("Printed in Superclass.");
    }
}