English

Why is a function an abstraction?

Advertisements

Question

Why is a function an abstraction?

One Line Answer
Advertisements

Solution

Once a function is defined, it can be used over and over and over again. Reusability of a single function several times is known as an abstraction.

shaalaa.com
Decomposition in Problem Solving
  Is there an error in this question or solution?
Chapter 7: Composition and Decomposition - Evaluation - Section - B [Page 100]
Advertisements
Share
Notifications



      Forgot password?
Use app×