Chapter 9 Working with Object-Oriented Models
Overloaded operations with the same name and same parameters data type cannot have different return types in a class.
Overloading an operation refers to using the same method name but performing different operations based on different parameter number or type.
| Manual correction | Automatic correction |
|---|---|
| Change the operation name, parameter data type, or return type | — |
| Copyright (C) 2006. Sybase Inc. All rights reserved. |
| |