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  What is the health effect of radiofrequency?

Leave a Reply

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