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

Discussion Board
Ho

Needs to be a and c.


Ho 05-23-2020 04:32 PM

Programme language c++

Which of the following statement about access specifier is true

Salim majid 05-6-2017 02:16 PM

Write your comments


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)


Advertisement