Chapter 9 Working with Object-Oriented Models
When overriding a parent operation in a class, it is impossible to change its modifiers.
Overriding an operation means that an operation defined in a given class is redefined in a child class, in this case the operation of the parent class is said to be overriden.
Manual correction | Automatic correction |
---|---|
Keep the same modifiers for child operation | — |
Copyright (C) 2006. Sybase Inc. All rights reserved. |
![]() |