Suppose that the application contains the methods method1 and
method2. You can call a method by using its name directly in the Java code. This is equivalent to calling
callMethod(), which is declared in the superclass
ApplicationMethod (for this example, it is
method16):