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 write a Student class in Java?

Leave a Reply

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