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. A method with no visibility modifier can be accessed by a class in a different package.

Computer Science & Information Technology

You might also like to view...

Internet data can travel over any type of WAN because of Internet protocols. Collectively the Internet protocols are called ________.

a. IP address b. POP c. TCP/IP d. IP

Computer Science & Information Technology

When a slide is selected in Slide Sorter view, a(n) ________ surrounds the slide, indicating it is selected

A) dotted line B) dashed line C) outline D) circle

Computer Science & Information Technology