package me.wayne;



public class Main {

    public static void main(String[] args) {
        System.out.println("Hello, I'm Java code in Secret.jar .");
    }
}

package me.wayne;


public class Main {

    public static void main(String[] args) {
        System.out.println("Hello, I'm Java code in Secret.jar .");
    }

    public static String getMessage() {
        return "Hello, I'm Java code in Secret.jar .";
    }
}
修改Main.class方法