Ask Questions & Get Answers at ibibo sawaal

Access specifiers: “public”, “protected”, “private”, nothing?  

Asked in Computers & Technology at 8:38 AM on June 26, 2008

Tags: access, nothing

! This question is closed
Report abuse
rocky singh
rocky singh
Profile | Q&A

Related Search

 

Access specifiers: public, protected, private, nothing?

Public : Any other class from any package can instantiate and execute the classes and methods.Protected : Only subclasses and classes inside of the package can access the classes and methods.Private : The original class is the only class allowed to execute the methods.If nothing is provided,default - friendly - package level -permissions are given for class/members.public permissions are given for interface

Posted in Computers & Technology by rocky singh at 1:38 PM on June 26, 2008
Editor's Pick

Ask a Question

160
   Ask now

Categories

sawaal signature
sawaal free visiting card
Today's Top Experts in Computers & Technology
12 pts
12 pts
12 pts
8 pts
8 pts

View All

All time Top Experts in Computers & Technology
121734 pts
45751 pts
36995 pts
35555 pts
32215 pts

View All