public class test { private void p1(){ System.out.println("p1------"); } private void p1(String aa){ System.out.println("p1------"+aa); } public static void main(String[] args) { // TODO Auto-generated method stub test t =new test(); t.p1(); t.p1("444"); } }
原文:http://www.cnblogs.com/chengnuo/p/5302780.html