Skip to content

Luminus quiz 3 question 4 #367

@prerthan99

Description

@prerthan99

Hi, im just a bit confused as to why we declare the visibility as public (+) given that it was not explicitly mentioned. I understand that if the code does not mention what the visibility is, its safe to assume that it's public hence the answer makes sense following this logical flow. But wouldn't it be safer not to put anything as this matches the code better? thanks in advance :)

Screenshot 2021-04-23 at 11 05 39 PM

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions