Discuss / Java / 继续继续

继续继续

Topic source

灵光大侠

#1 Created at ... [Delete] [Delete and Lock User]
public class Person {



	private String name;



	public String getName() {

		return name;

	}



	public void setName(String name) {

		this.name = name;

	}

	

	public void setName(String name1, String name2) {

		this.name = name1 + " " + name2;

	}



}

  • 1

Reply