Which of the following statements is false?

a. A public class can be accessed by a class from a different package.
b. A private method cannot be accessed by a class in a different package.
c. A protected method can be accessed by a subclass in a different package.
d. A method with no visibility modifier can be accessed by a class in a different package.

d

Computer Science & Information Technology

You might also like to view...

A setting that refers to the order in which the focus moves from field to field

a. Auto-increment order b. Tab order c. Focus order

Computer Science & Information Technology

A(n) ________ is a conditional Word field that determines how the merge process is completed

Fill in the blank(s) with correct word

Computer Science & Information Technology