What modifier should you use on the members of a class so that they are not accessible to another class in a different package, but are accessible to any subclasses in any package?

a. public
b. private
c. protected
d. Use the default modifier.


c. protected

Computer Science & Information Technology

You might also like to view...

The default font can be changed in all documents based on the Normal template or this option

a. All future documents b. This document only c. This section only

Computer Science & Information Technology

A cable modem can connect via an Ethernet cable or a USB cable to the PC

Indicate whether the statement is true or false

Computer Science & Information Technology

The Linux administrator need to restart the DNS service on a remote server. He connects using SSH, and once authenticated he executes the command: servicebind restart If he is not logged in as root, what will be the response of the DNS server?

A. access denied B. dependent service failed to start C. unable to restart BIND D. enter your password

Computer Science & Information Technology

Which property is used with the:beforeand:afterpseudo-elements to specify either text or the path and name for an image file to be displayed?

A. content B. image C. text D. element

Computer Science & Information Technology