Answers for "this’ keyword"

1

The this(Keyword)

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;
    }
}
Posted by: Guest on May-22-2021

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language