0

what is the default modifier of constructor in java

in todays class in my uni my teacher ask about default modifer of contructor can any one help me thanks

15th Mar 2017, 7:17 PM
NAEEM AHMED
NAEEM AHMED - avatar
4 Réponses
+ 11
package private That means it can be called from any class in the same package, but not from classes and not from extending classes in a different package.
15th Mar 2017, 7:55 PM
Tashi N
Tashi N - avatar
+ 2
package - private This will make sure , your declared member has to be called from the same Package.
15th Mar 2017, 7:53 PM
Meharban Singh
Meharban Singh - avatar
0
no i mean what a default modifier called actually
15th Mar 2017, 7:54 PM
NAEEM AHMED
NAEEM AHMED - avatar
0
ok thanks
15th Mar 2017, 7:57 PM
NAEEM AHMED
NAEEM AHMED - avatar