FilePrivate vs Private || Open vs Public || What are access specifier in swift

Поділитися
Вставка
  • Опубліковано 6 січ 2025

КОМЕНТАРІ • 13

  • @yashwanthpuvvada9291
    @yashwanthpuvvada9291 2 роки тому +3

    It is really helpful for who are attending for the interviews. Thank you

  • @GurjinderSingh-tf2dl
    @GurjinderSingh-tf2dl Рік тому

    Public class and Open class is subclassed. I am only talking about class not method. Method overriding is clear.

  • @ajaybabusingineedi5797
    @ajaybabusingineedi5797 Рік тому

    We can only subclass if its access level is open. open is used for subclass and override behaviour of entities defined in outside of module.

  • @raajbala4871
    @raajbala4871 Рік тому

    Great explanation. I got a clear understanding.
    Keep on posting.
    Thank you.!

  • @ajaybabusingineedi5797
    @ajaybabusingineedi5797 Рік тому

    Very nice explanation. thanks for your time and efforts.

  • @abhaykumar24j
    @abhaykumar24j Рік тому

    Superb explanation 👍🏼

  • @GurjinderSingh-tf2dl
    @GurjinderSingh-tf2dl Рік тому

    If class is public (DummyViewController) and can we still override it in other module(ViewController)? According to given eg we can. But as you said. We can override open only. Can you clear this doubt?
    Thanks

  • @sandeeptomar7466
    @sandeeptomar7466 2 роки тому

    Nice explanation