Protected members differ from default members as _______
(a) Protected members can be accessed outside package using inheritance, but default can’t
(b) Default members can be accessed outside package using inheritance, but protected can’t
(c) Protected members are allowed for inheritance but Default members are not allowed
(d) Both are same
I have been asked this question in an online quiz.
My question is based upon Protected Access Specifier topic in portion Access Specifiers of Object Oriented Programming