Define encapsulation using the black box concept. 

What will be an ideal response?


The black box concept is an example of encapsulation, which means that all data and methods are self-contained. A black box does not want or need outside interference. By limiting access to internal processes, an object prevents its internal code from being altered by another object or process. Encapsulation allows objects to be used as modular components anywhere in the system, because objects send and receive messages but do not alter the internal methods of other objects.

Computer Science & Information Technology

You might also like to view...

Which of the following is another term for "telecommuter"?

A. teleworker B. remote worker C. on-line worker D. distant worker

Computer Science & Information Technology

A valid file name is: ____.

A. Com1 B. Aux C. Nul D. Letter

Computer Science & Information Technology

You can use ____________________ view to resize, move, and delete columns.

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

Computer Science & Information Technology

When you want to group only a subset of rows you should eliminate rows first in what clause?

a. SELECT b. FROM c. WHERE d. HAVING

Computer Science & Information Technology