Which of these access specifiers can be used for a class so that it's members can be accessed by a different class in the different package?

Question:
Which of these access specifiers can be used for a class so that it's members can be accessed by a different class in the different package?

1.Public

2.Private

3.Protected

4.None

Posted Date:-2021-10-25 05:40:10


More MCQS Questions and answers

Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!