Jasper Reports Developer Question:
Download Questions PDF

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

Answer:

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.

Download Jasper Reports Developer Interview Questions And Answers PDF

Previous QuestionNext Question
What when a thread cannot acquire a lock on an object in Java Programming?How elements of a GridBagLayout organized in Java Programming?