+ 6
What is abstraction ???
7 Réponses
+ 4
if you want to understand it in simple way
then consider this
it is just of showing necessary information rather than giving whole information of a object
like if you go to buy a car the sales man just give information about necessary information like mileage, capacity, engine power
rather than
giving each and every details about that car like
what's the types of metal used in car , how many electronic components are there, dimensions of doors, wind shield , ...... i know more but its enough😂.
so thats it
+ 17
Abstraction is the process of abstraction in Java is used to hide certain details and only show the essential features of the object. In other words, it deals with the outside view of an object (interface).
+ 14
In object-oriented programming,abstraction is one of three central principles (along with encapsulation and inheritance). Through the process of abstraction, a programmer hides all but the relevant data about an object in order to reduce complexity and increase efficiency.
+ 10
Abstraction is a data hiding process where a certain security is maintained. In abstraction u define a method without showing the implementation details . class who extends an abstract class can write the function body as needed for the program.
Abstract class can contain both abstract method and concrete method. This plays an important role in inheritance.
U can achieve abstraction in c++ by using pure virtual function.
+ 3
The process of showing the essential features of an object without including its background details is termed as abstraction.
Suppose we want to drive a car, we need not know the functioning of its parts like motor to learn driving .which suggests the fact that it's inner details are hidden .
+ 2
It's like when someone says, "I'm reading a book." You don't know what the book is called or how many pages there are, but you know what a book looks like. It has a cover, etc., etc.
- 4
hola