What is abstraction?  What is the advantage of abstraction?

What will be an ideal response?

Abstraction refers to the hiding of the internal details of the object from the user.  By hiding the internal details from the user, the user cannot inadvertently make changes to the object.  Attributes and behaviors that are not hidden are exposed to the user.  The idea behind abstraction is to expose to the user only those attributes and behaviors that are necessary to the object, and to hide everything else.

Computer Science & Information Technology

You might also like to view...

Which of the following commands will activate a right-to-use license?

A) license boot module B) license install C) show license feature D) install version

Computer Science & Information Technology

Which statement is false?

a) It’s necessary to include names of pointer arguments in function prototypes. b) A function receiving an address as an argument must define a pointer parameter to receive the address. c) The compiler does not distinguish between a function that receives a pointer and a function that receives a single-subscripted array. d) The function must “know” whether it is receiving a sin-gle-subscripted array or simply a single variable for which it is to perform simulated call by reference.

Computer Science & Information Technology