Question: NOTE: IS STUDYING JAVA 2 3.Pick the three options that identify something a method can do that a public field cannot? A. Validate a change
NOTE: IS STUDYING JAVA 2

3.Pick the three options that identify something a method can do that a public field cannot? A. Validate a change in value. B.Prohibit a change in value. C.Limit a change in value. D.Invoke a method when accessed 4.Which of the following describes a use for a protected method? A.Allowing classes outside your package to extend your class B.Allowing classes outside your package to override your code. C.Allowing subclasses direct access to your fields. D.Allowing subclasses to call any constructor
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
