From the course: Nail Your Java Interview

Unlock the full course today

Join today to access over 22,500 courses taught by industry experts or purchase this course individually.

Mastering abstraction for technical interviews

Mastering abstraction for technical interviews - Java Tutorial

From the course: Nail Your Java Interview

Start my 1-month free trial

Mastering abstraction for technical interviews

- [Instructor] In this chapter, we'll be looking at the four main principles of object-oriented programming. Since Java is an object-oriented language, many of these concepts are commonly used, and they're fair game for your interviewer to ask about. While most technical interview challenges focus on data structures, your interviewer may ask for a general example of one of these object-oriented principles. It's important to be prepared to talk about them. The first object-oriented principle we'll be looking at is abstraction. In software development, we use abstraction to hide implementation complexity. This complexity could be in the form of an API, design, or system, and the goal of abstraction is to generalize the features of a given system. If a software product uses abstraction, it should be able to provide a user with example input, output, and a broad description of what the system does, without going into the…

Contents