public class Customer {
public string Name;
protected int Id;
private int Age;
}
public class GoldCustomer: Customer {
private GoldPoints: int;
}
W metodach klasy GoldCustomer są widoczne jedynie pola
- GoldPoints
- GoldPoints, Name
- GoldPoints, Name, Id
- GoldPoints, Name, Id, Age