Question: (9) (3 points) Which statement is not true in java language? a. A public member of a class can be accessed in all the
(9) (3 points) Which statement is not true in java language? a. A public member of a class can be accessed in all the packages. b. A private member of a class cannot be accessed by the methods of the same class. c. A private member of a class cannot be accessed by the method of a different class. d. A protected member of a class cannot be accessed by the method of a class in different package.. e. None of the above.
Step by Step Solution
There are 3 Steps involved in it
Answer b A private member of a class cannot be accessed by the method of the same class The above ... View full answer
Get step-by-step solutions from verified subject matter experts
