Question: For the diagram in the previous question, how many classes can write code that references the light variable? A. None B. One C. Two D.
For the diagram in the previous question, how many classes can write code that references the light variable?

A. None
B. One
C. Two
D. Three
E. Four
com.color Red . protected boolean light Blue . void sky () m.light Bright Light extends Red com. Light
Step by Step Solution
3.28 Rating (154 Votes )
There are 3 Steps involved in it
Based on the diagram we have the following classes Red in the comcolor package has a protected membe... View full answer
Get step-by-step solutions from verified subject matter experts
