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...

When is the bubble sort algorithm possible to use in practice?

a. When the data is partially sorted b. When the data is completely sorted c. When the data list has no duplicate elements d. When the data list has 0 elements

Computer Science & Information Technology

What color format is required by the imagecolorallocate() PHP function?

a. CMYK b. PMS c. RGB d. SVG

Computer Science & Information Technology

Being computer literate includes being able to

a. avoid spam, adware, and spyware. b. use the web effectively. c. diagnose and fix hardware and software problems. d. all of the above.

Computer Science & Information Technology

You must upload your Web pages to a(n) ________ before they can be viewed on the Internet

A) Web server B) FTP C) WWW D) XML

Computer Science & Information Technology