Explain the distinction between abstraction and inheritance.
Sigiloso
Abstraction is an OOP concept that conceals implementation details from the user and only reveals the functionality. On the other hand, inheritance is the process of constructing a new class from the methods and properties of an existing one.