Szukaj na tym blogu

Przykładowe zadanie 9.

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

  1. GoldPoints
  2. GoldPoints, Name
  3. GoldPoints, Name, Id
  4. GoldPoints, Name, Id, Age
C