Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite0
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
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.
+ 2
package - private
This will make sure , your declared member has to be called from the same Package.
0
no i mean what a default modifier called actually
0
ok thanks