example of data abstraction in java
Answers
Answered by
0
Answer:
Abstraction is a process of hiding the implementation details from the user. Оnly the functionality will be provided to the user. In Java, abstraction is achieved using abstract classes and interfaces. ... Abstraction is one of the four major concepts behind object-oriented programming (OOP)
Answered by
2
Answer:
Abstraction is more about hiding the implementation details. In Java abstraction is achieved through abstract classes and interfaces. ... A Java class, where all instance variables are private and only the methods within the class can manipulate those variables, is an example of an encapsulated class
please mark brainliest
Similar questions