Which of the following terms are used to describe defining a class so that the implementation of the member functions is either not known or at least is irrelevant to its use

a) walling up
b) encapsulation
c) abstraction
d) Caging up the data and functions
e) Information hiding


b) encapsulation , c) abstraction , and e) Information hiding

Each of these terms mean that the details of the implementation of the functions is hidden from the client programmer (the programmer who uses the class). The text prefers encapsulation.

Computer Science & Information Technology

You might also like to view...

For properties that do not have any additional logic in their Set and Get accessors, __________ properties allow you to write one line of code and have the compiler generate the

a) automatic b) auto-implemented c) auto-coded d) None of the above

Computer Science & Information Technology

Each class you create becomes a new ________ that can be used to declare variables and create objects.

a. package b. instance c. library d. type.

Computer Science & Information Technology

An uncaught exception ________.

a. is a possible exception that never actually occurs during the execution of the program. b. is an exception that occurs for which the matching catch clause is empty. c. is an exception that occurs for which there are no matching catch clauses. d. is another term for a thrown exception.

Computer Science & Information Technology

Identifiers which have static duration ________.

a) are globally accessible to the script b) exist while the function in which they are declared is still active c) exist while the function in which they are declared is no longer active d) are not automatically destroyed when the function in which they are declared is exited.

Computer Science & Information Technology