What symbol is used in UML to represent inheritance?

Filled triangle

Unfilled triangle

In UML, inheritance is represented by an unfilled triangle, which indicates a generalization relationship between classes. When one class inherits from another, the unfilled triangle points toward the base or parent class. This visualization helps to illustrate the hierarchical structure of classes in object-oriented design, where the subclass derives from the superclass and inherits its properties and behaviors.

The unfilled triangle is distinct in its representation, making it easy to identify relationships at a glance. It emphasizes the direction of the inheritance, allowing viewers to quickly understand which class is the more general or parent class and which is the specialized child class. Other geometric shapes, such as squares, circles, or filled triangles, serve different purposes in UML diagrams, but they do not convey the concept of inheritance in the same clear and established manner as the unfilled triangle does.

Get further explanation with Examzify DeepDiveBeta

Circle

Square

Want more questions?

All options are one-time payments.

$12.99

30 day pass for new members

All the basics to get you started

  • Ad-free experience
  • View your previous attempt history
  • Mobile app access
  • In-depth explanations
  • 30 day premium pass access
$29.99 $92.93 usd

6 month DELUXE pass (most popular)

Everything with the 30 day premium pass FOR 6 MONTHS! & the ultimate digital PDF study guide (BONUS)

  • Everything included in the premium pass
  • $92.93 usd value for $29.99! You save $62.94!
  • + Access to the ultimate digital PDF study guide
  • + 6 months of premium pass access
  • + Priority support
$14.99 $19.99

Ultimate digital PDF study guide

For those that prefer a more traditional form of learning

  • Available for instant download
  • Available offline
  • Hundreds of practice multiple choice questions
  • Comprehensive content
  • Detailed explanations
Image Description
Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy