Abstraction in Java: Abstract Classes and Methods, Interfaces and Has-A, Is-A Relationships
So what is an abstraction in OOP programming? Let’s imagine you have a car. it has a lot of characteristics like a weight, dimensions, color, maximum speed etc. To describe a Car object you need only color and max speed for your use-case. Weight and dimensions don’t matter to you. Abstraction means showing only necessary … Read more