Recognize the principles in a drawing application

A team describes four features of a drawing application. Match each object-oriented principle to the description that most directly illustrates it. Each description has one intended match.

Match each term
A.

Circle is declared as a specialized Shape and receives its accessible common behavior.

B.

A shape keeps its coordinates private and checks proposed coordinate changes through its methods.

C.

A drawing tool exposes a small set of relevant operations while hiding rendering details.

D.

The same draw request invokes different implementations for circle and rectangle objects.

Inheritance

Abstraction

Encapsulation

Polymorphism

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

More The Object-Oriented Paradigm Questions: