How can a class be accessed, If no access modifiers are
declared?
Answer Posted / banti
If a there is no access modifier specified to a class it
takes the access modifier as Default. This means the class
which has Default Access modifier can be accessed from
other classes defined in the same package.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is ++ a in java?
What is nested loop? What is dangling else condition in it?
How does sublist works in java?
What is return in java?
What is meant by 'bit masking' in java?
What is the significance of listiterator?
What is the difference between throw and throws in java?
What do you understand by the term wrapper classes?
What is the full form of jpeg?
Can each java object keep track of all the threads that want to exclusively access it?
What is predicate in java?
What is heterogeneous in java?
Why is java so important?
What is singleton class in ruby?
Explain java coding standards for variables ?