If a class is declared without any access modifiers, where may the class be accessed? - JAVA Interview Questions

If a class is declared without any access modifiers, where may the class be accessed?


A class that is declared without any access modifiers is said to have package or default access. This means that the class can only be accessed by other classes and interfaces that are defined within the same package.


Click Here to See Answer .....
Did you like this article ?
Subscribe to my RSS feed and get more JAVA Question, and Guideline, Plus a lot more great advice to help your Software Career.

0 comments:

Related JAVA Questions Posts