Explain the concept of Abstraction using a real-world example other than an ATM or a Car.

Last updated 5 July 2026

Consider a TV remote: you press "volume up" and the volume rises, but you have no idea about the infrared signals, chip logic, or circuitry involved. The remote exposes a simple interface and hides the complex mechanism, which is exactly abstraction.

  • The exposed interface: Buttons like volumeUp() or changeChannel(): what you can do.

  • The hidden complexity: IR encoding, signal modulation, and the TV's internal decoding: the how, which you never see.

  • Why it matters:

    • The manufacturer can redesign the internals entirely; as long as the buttons behave the same, users are unaffected.

    • In code this maps to a method signature or interface that a client calls without knowing the implementation.

  • https://isriramkumarm.medium.com/lets-understand-what-is-abstraction-in-oop-2a596d4926d7
  • https://www.freecodecamp.org/news/a-guide-to-object-oriented-programming-principles/
  • https://www.freecodecamp.org/news/object-oriented-programming-javascript/
  • https://stackify.com/oop-concept-abstraction/
All Object-Oriented Programming interview questions