Explain about abstraction?

Abstraction can also be achieved through composition. It solves a complex problem by defining only those classes which are relevant to the problem and not involving the whole complex code into play.
The vehicle class described above is an example of abstraction. Abstraction is the process of representing simplified versions of real-world objects in your classes and objects. The car class does not describe every possible detail of a car, only the relevant parts for the system being developed. Modelling software around real-world objects can vastly reduce the time required to understand a solution and be able to develop and maintain it.

Tagged . Bookmark the permalink.

2 Responses to Explain about abstraction?

  1. venky says:

    than x it is useful for me

  2. venky says:

    it is useful for beginners

Leave a Reply