Question: TF. A private method of one package cannot be accessed by a method from another package. TF. A protected method of one package A cannot

  1. TF. A private method of one package cannot be accessed by a method from another package.
  2. TF. A protected method of one package A cannot be accessed by a method from another package B, unless the package A is imported by B. Assume B has the main method.

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 Programming Questions!