What is public and private class in Java?

Public members can be accessed from the child class of the same package. Private members cannot be accessed from the child class of the same package . Public member can be accessed from non-child class of same package. Private members cannot be accessed from non-child class of same package.

Sizin İçin Seçtik  Binance authenticator kodu nerede?

Leave a Reply

Your email address will not be published. Required fields are marked *