Question 1 of 5
A Beacon object stores private int lumens. The class already has a constructor that sets lumens to 40.
(a) Write a non-void accessor getLumens that returns the stored lumens. (b) Write a void mutator addGlow(int extra) that adds extra to lumens. (c) Explain why getLumens is non-void while addGlow is typically void.