Abstraction is also a concept in object-oriented programming and implies that, when we write code, we should hide the complexity and details of the implementation from the outside world.
In other words, when we write a program that, on receiving an input, does a bunch of complex operations and returns an output, we should hide the inner complexity of the operations that are done inside the program so that the outer applications can just focus on the input they are sending to the application and the output that they are getting from it.
For example, let's consider the same example of Account that we worked on in the previous example. If we consider the example of the OpenAccount function, you will understand that opening an account for the customer will not be that simple. There will be several subtasks that need to be executed before we can finally...