Question 1 of 5
A seed pot stores planting depth in centimeters.
(a) Write a public class SeedPot with a private int depth, a public constructor SeedPot(int d) that stores d in depth, and a public method getDepth that returns depth. (b) Explain why the class header uses public. (c) Explain why depth is designated private.