Question: What access modifier is used to mark class members package-private? A. default B. friend C. protected D. private E. None of the above

What access modifier is used to mark class members package-private? 

A. default 

B. friend 

C. protected 

D. private 

E. None of the above

Step by Step Solution

3.39 Rating (152 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

The correct answer is A default In Java if a class member does not have any access modifier specifie... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Oracle Questions!