1.

Protected access is same as default access that is given implicitly in java if no specifier is mentioned.(a) True(b) FalseI had been asked this question in an online quiz.Query is from Protected Access Specifier in section Access Specifiers of Object Oriented Programming

Answer»

The correct OPTION is (b) False

To EXPLAIN I would say: The statement given is TRUE. The clear difference is protected MEMBERS are available in other packages also, but the default members are available within the package only.



Discussion

No Comment Found

Related InterviewSolutions