+ 1

Abstraction

I want know it any one tell in java

20th Aug 2017, 2:06 AM
INDLA MALAKONDAIAH
INDLA MALAKONDAIAH - avatar
9 Réponses
+ 2
In short, Abstraction is hiding certain details of the data and displaying only what needs to be shown and access by the end user, only showing the essential features of the object. And makes sure you deal with the outside view of an object. Here's an example: A Java developer can make use of the high-level features of FileInputStream without concern for how it works. This will work irrespective of you storing your data in a list or an array, the end user does not need to know as long as the API (interface) to FileInputStream remains consistent, code built against previous versions will still work. Similarly, when designing your classes, you will want to hide the internal implementation from others as far as possible. Which is the biggest benefit of Object Oriented Programming
20th Aug 2017, 2:35 AM
Infant Raj
Infant Raj - avatar
+ 1
@INDLA here is a simple example of data abstraction https://code.sololearn.com/c6Fz2kiaHXi6/#java
20th Aug 2017, 5:49 PM
Infant Raj
Infant Raj - avatar
+ 1
thank you
23rd Aug 2017, 3:56 PM
INDLA MALAKONDAIAH
INDLA MALAKONDAIAH - avatar
+ 1
No, not professionally. I just have an intermediate understanding of it.
24th Aug 2017, 12:41 AM
Infant Raj
Infant Raj - avatar
0
thank you so much sir you have any code for this
20th Aug 2017, 10:43 AM
INDLA MALAKONDAIAH
INDLA MALAKONDAIAH - avatar
0
sir if you are develop any project in java
23rd Aug 2017, 3:56 PM
INDLA MALAKONDAIAH
INDLA MALAKONDAIAH - avatar
0
@Indla Is your question, are you a developer in Java?
23rd Aug 2017, 8:01 PM
Infant Raj
Infant Raj - avatar
- 1
yes
24th Aug 2017, 12:39 AM
INDLA MALAKONDAIAH
INDLA MALAKONDAIAH - avatar
- 1
k thank you
24th Aug 2017, 12:42 AM
INDLA MALAKONDAIAH
INDLA MALAKONDAIAH - avatar