+ 1
In Java,data member and member function by default take which access specifier.
Java
4 odpowiedzi
+ 6
When no access modifier is specified for a class , method or data member , it is said to be having the "default" access modifier means they can access only within the same package.
+ 5
Its not nessary to write specifier for every method and member veriable but if you want to access method and veriable outside of that package than you should need public access specifier
+ 4
It take package private
0
Means for private,public and protected specifier......I will have to write before method and data member ......if I want to use of these