0
Fill in the blanks to print the age variable of the Person class using the this keyword.
c# code Fill in the blanks to print the age variable of the Person class using the this keyword. class Person { private int age; public void Print() { Console.Write(his.age); } }
2 Respuestas
0
his.age is missing a t
must be this.age
0
class Person {
private int age;
public void Print() {
Console.Write(this.age);
}
}