Answer:
a. myGarden.Width
Explanation:
Given: A base class named Garden contains a private field width and a property public int Width that contains get and set accessors. A child class named VegetableGarden does not contain a Width property. So the structure is as follows:
class Garden{
private int width;
public int Width;
}
class VegetableGarden extends Garden{
}
In the client class, we create an instance of VegetableGarden as follows:
VegetableGarden myGarden = new VegetableGarden();
From this instance the Width field can be accessed using the following mechanism:
myGarden.Width