What is the purpose of abstraction in Java?

The main purpose of abstraction is hiding the unnecessary details from the users . Abstraction is selecting data from a larger pool to show only relevant details of the object to the user. It helps in reducing programming complexity and efforts.

Sizin İçin Seçtik  How do you cast an object to a class?

Leave a Reply

Your email address will not be published. Required fields are marked *