---
title: "What is abstraction in java?"  
description: "What is abstraction in java?"  
author: "Samuel Fernandes"  
published: 2015-04-02  
updated: 2020-09-23  
canonical: https://www.mindstick.com/interview/2392/what-is-abstraction-in-java  
category: "java"  
tags: ["java"]  
reading_time: 1 minute  

---

# What is abstraction in java?

**Abstraction** is a process of hiding the implementation details and showing only functionality to the user.Another way, it shows only important things to the user and hides the internal details for example sending sms, you just type the text and send the message. You don't know the internal processing about the message delivery.Abstraction lets you focus on what the object does instead of how it does it

## There are two ways to achieve abstraction in java

1. Abstract class (0 to 100%)

2. Interface (100%)

\

## Answers

### Answer by Anonymous User

**Abstraction** is a process of hiding the implementation details and showing only functionality to the user.Another way, it shows only important things to the user and hides the internal details for example sending sms, you just type the text and send the message. You don't know the internal processing about the message delivery.Abstraction lets you focus on what the object does instead of how it does it

## There are two ways to achieve abstraction in java

1. Abstract class (0 to 100%)

2. Interface (100%)

\


---

Original Source: https://www.mindstick.com/interview/2392/what-is-abstraction-in-java

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
