📜  this(Keyword) - Java 代码示例

📅  最后修改于: 2022-03-11 14:52:20.132000             🧑  作者: Mango

代码示例1
public class Person {
    String name;
    int age;
    char gender;
    public Person(String name, int age, char gender) {
        this.name = name;
        this.age = age;
        this.gender = gender;
    }
}