Question: NOTE: IS STUDYING JAVA 2 1. What is Java's principal technique for encapsulating data? A.Coupling loosely B.Using access modifiers C.Naming methods the same as fields
NOTE: IS STUDYING JAVA 2

1. What is Java's principal technique for encapsulating data? A.Coupling loosely B.Using access modifiers C.Naming methods the same as fields D.Minimizing variable scope 2.Which of the following is an example of minimizing the scope of change or state of an object? A.Making fields immutable B.Using the String class a lot C.Eliminating variables that are going to change D.Subclassing
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
