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

NOTE: IS STUDYING JAVA 2 3.Pick the three options that identify something

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!