Answers

Question and Answer:

  Home  Jasper Reports Developer

⟩ Suppose if a class is declared without any access modifiers, where may the class be accessed in Java Programming?

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

 215 views

More Questions for you: