不,它不是。然而,以下是可能的:public void test() { test("exampleText"); } public void test(String name) { //logic here }