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

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

Canon
Views: 625 | Community Opinion: 1

Tags..  Java Classes  Core Java Interview  Java

Bookmark this page..



Ask a New Question Go to Home

Community Opinion/Answers
 
Unish Said..

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






What do you think? Add your opinion/answer
*Name
*your opinion/answer: