What is the default access specifier of data members in Java?

For interface members (fields and methods), the default access is public. But note that the interface declaration itself defaults to package private .

Sizin İçin Seçtik  Telegramda chat nasıl kapatılır?

Leave a Reply

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