Which of the following is true for package access modifier?
Options
- The Class which has a Public Modifier can be accessed by all the classes from the particular package and also from different packages.
- The Class which has the default modifier cannot be accessed by all the classes of that particular package.
- The class which has private as the modifier cannot be accessed by any class even with in the package
- both a and d
CORRECT ANSWER : both a and d
Write your comments