What is the reason for separating the interface from the implementation of an ADT?

What will be an ideal response?


One obvious benefit is that you can change your client (program that uses the ADT) without requiring that the ADT details be changed. The other benefit is that the ADT author can change the ADT implementation (but not the interface) of the ADT without requiring the client to do anything but relink his code.

Computer Science & Information Technology

You might also like to view...

You have the ability to change the animated character that displays with the Search Companion

Indicate whether the statement is true or false

Computer Science & Information Technology

A collection of nodes and connecting edges is called a(n) graph. _________________________

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

Using polymorphism, existing operations on a base class can be left alone, without the need to retest and reverify them, while they are extended to a derived class.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

When you use an external style sheet with an HTML document, you get all but one of the benefits that follow. Which one is it?

A. You provide consistent formatting for all of the pages that use the style sheet B. You can modify the formatting for all of the related pages by changing one style sheet C. Your CSS coding is simpler D. You separate the CSS code from the HTML code

Computer Science & Information Technology