What does the keyword public mean in a class declaration?

A. public functions can only be seen by other class members.
B. public members can be seen by any other parts of the program and accessed via an object.
C. public functions cannot see any other parts of the class.
D. public members can only be seen by other class members.


B

Computer Science & Information Technology

You might also like to view...

Which of the following activities is carried out by the ALU?

A) Moves read/write heads B) Creates virtual memory C) Performs arithmetic calculations D) Renders video images

Computer Science & Information Technology

Method ______ returns the number of times a specified substring occurs in a string.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

Match the following terms to their meanings:

I. Office Online II. Word Online III. Excel Online IV. PowerPoint Online V. OneNote Online A. Provides the core functionality of a word processing application B. The set of online companions for Microsoft applications C. Provides the core functionality of a spiral notebook D. Provides the core functionality of a spreadsheet application E. Provides the core functionality of a presentation application

Computer Science & Information Technology

A set of declarations grouped under one selector is called a declaration block

Indicate whether the statement is true or false

Computer Science & Information Technology