Skip to content

Question on Practice Exam Part 2 Class Diagram #363

@glatiuden

Description

@glatiuden

Hi! I was attempting the practice exam part 2 earlier on and noticed that the update() method in the Watcher interface is set as public (+). I understand that interface methods doesn't allow access modifiers, so I'm a bit confused with the solution. Is it fine if I declare it as ~ or leave it empty instead? Thank you!

image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions