Computer Science - Object Oriented Programming Using C++

41. 

A major advantage of inheritance is

A. reducing the time it takes to create new objects
B. not having to think about how objects will be used
C. reducing the amount of memory required to execute a progrma
D. enabling people who have not studied programming to create useful applications

Answer: Option A

Explanation:

No answer description available for this question. Let us discuss.

42. 

When a variable exists or is accessible, it is said to be _____

A. immediate
B. in the path
C. available
D. in scope

Answer: Option D

Explanation:

No answer description available for this question. Let us discuss.

43. 

The feature that allows the same operations to be carried out differently depending on the object is _____

A. polymorphism
B. polygamy
C. inheritane
D. multitasking

Answer: Option A

Explanation:

No answer description available for this question. Let us discuss.

44. 

Which of the following is a C++ class?

A. >>
B. read()
C. cin
D. iostream

Answer: Option D

Explanation:

No answer description available for this question. Let us discuss.

45. 

Precedence determines which operator

A. is evaluated first
B. is most important
C. is fastest
D. operates on the largest number
E. None of the above

Answer: Option A

Explanation:

No answer description available for this question. Let us discuss.