posted 22 years ago
Hi all
This is a question from JQ+.
Compared to public, protected and private accessibility, default accessibility is....
The options are
1.Less restrictive than public
2.More restrictive than public, but less restrictive than protected.
3.More restrictive than protected, but less restrictive than private.
4.More restrictive than private.
5.Less restrictive than protected from within a package, and more restrictive than protected from outside a package.
The answer provided by JQ+ is 3. But I feel the correct answer should be 5.
Can you please correct me if I am wrong.
Regards
Sandip