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.

(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

1 Expert Approved Answer
Step: 1 Unlock

Answer b A private member of a class cannot be accessed by the method of the same class The above ... View full answer

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 Electrical Engineering Questions!