Definition of a component using Eiffel notation.

Integrating Extension and Specialization Inheritance
by Walid Al-Ahmad and Eric Steegmans
Listing 1. Definition of a component using Eiffel notation.


component HEIGHT feature
    height : REAL
    setHeight (ht : REAL) do height := ht end
    changeHeight (delta : REAL) do height := height + delta end
    -- other possible operations
end

Upcoming Training Events

0 AM
Visual Studio Live! San Diego
September 8-12, 2025
Live! 360 Orlando
November 16-21, 2025
Cloud & Containers Live! Orlando
November 16-21, 2025
Data Platform Live! Orlando
November 16-21, 2025
Visual Studio Live! Orlando
November 16-21, 2025