C++ Programming - OOPS Concepts - Discussion

Discussion :: OOPS Concepts - General Questions (Q.No.34)

34. 

Which of the following factors supports the statement that reusability is a desirable feature of a language?

[A]. It decreases the testing time.
[B]. It lowers the maintenance cost.
[C]. It reduces the compilation time.
[D]. Both A and B.

Answer: Option D

Explanation:

No answer description available for this question.

Xyz said: (Jul 8, 2012)  
A Reusable code will save time and also cost since we can test in advance the code being reused works properly....

Manisha said: (May 31, 2013)  
If we use the existing code then of course testing time and maintenance cost is decreased.

Abc said: (Sep 5, 2013)  
What about compilation time?

Vikas Pareek said: (Oct 8, 2014)  
Why not compilation time. If the code is smaller and less tedious eventually the compilation time decreases, So why not compilation time?

Pooja Deshmukh said: (Dec 8, 2014)  
Compilation time is also reduced so, why it is not the answer?

M.Ramesh said: (Mar 31, 2016)  
Compilation time cannot be reduced because we are using existing code that code also needs to be included in our program. So the size of code increases compilation time will increase.

Logi said: (Sep 27, 2016)  
It's correct explanation.

Ayesha... said: (Nov 9, 2020)  
Compilation time will become extend due to code reusability. Compilation time cannot be reduced because we are using existing code that code also needs to be included in our program. So the size of the code increases compilation time will increase.

Post your comments here:

Name *:

Email   : (optional)

» Your comments will be displayed only after manual approval.