InterviewSolution
| 1. |
What Is An Abstraction? |
|
Answer» Abstraction is a good feature of OOPS , and it SHOWS only the necessary details to the client of an object. MEANS, it shows only necessary details for an object, not the inner details of an object. Example – When you want to switch On television, it not necessary to SHOW all the functions of TV. WHATEVER is required to switch on TV will be showed by using abstract class. Abstraction is a good feature of OOPS , and it shows only the necessary details to the client of an object. Means, it shows only necessary details for an object, not the inner details of an object. Example – When you want to switch On television, it not necessary to show all the functions of TV. Whatever is required to switch on TV will be showed by using abstract class. |
|