diff --git a/examples/object-type-inclusion/object_type_inclusion.bal b/examples/object-type-inclusion/object_type_inclusion.bal index 57bbcd6ff0..0aefa6e92d 100644 --- a/examples/object-type-inclusion/object_type_inclusion.bal +++ b/examples/object-type-inclusion/object_type_inclusion.bal @@ -18,7 +18,7 @@ type Person object { class Engineer { // The `Engineer` class includes the `Person` object type. - // Therefore, it has to implement both the `clone()` and `draw()` methods. + // Therefore, it has to implement both the `clone()` and `getName()` methods. *Person; function init(string name) {