ExamLookup
Menu mobile
Home
Current Affairs
General Knowledge
Computer
Python
HTML
Java
: JAVA Encapsulation
Which access specifier allows accessibility by all classes in the same package, but only by subclasses in a different package? , Which access specifier allows accessibility by all classes in the same package, but only by subclasses in a different package?
Which access specifier allows accessibility by all classes in the same package, but only by subclasses in a different package?
A.
public
public
B.
private
private
C.
protected
protected
D.
default
default
Solution
C. protected
CCC Online Test 2021
CCC Practice Test Hindi
Python Programming Tutorials
Best Computer Training Institute in Prayagraj (Allahabad)
O Level NIELIT Study material and Quiz
Bank SSC Railway TET UPTET Question Bank
career counselling in allahabad
Sarkari Exam Quiz
Website development Company in Allahabad