Question: Java programming Which of the following statements about encapsulation are TRUE? Select all that apply. Encapsulation hides internal state of objects from outside view As
Java programming Which of the following statements about encapsulation are TRUE? Select all that apply. Encapsulation hides internal state of objects from outside view As a general rule, in order to maintain encapsulation all class methods should be made private The keyword public is used to make class components accessible only from inside the class itself As a general rule, in order to maintain encapsulation class fields should be made private
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
