Question 1 of 5
A winch stores cable length in meters.
(a) Write a public class Winch with a private int meters and a public constructor Winch(int start) that stores start in meters. (b) Write public getMeters that returns meters. (c) State the value printed by System.out.print(new Winch(14).getMeters()); and explain that new Winch(14) both sets state and yields a reference.