|
-
What's up with protected access in JAVA?
Can anybody explain to me why the protected access specifier allows all classes within a package to access the protected member variable instead of only allowing derived classes to access the protected member variable like in C++.
Thanks a million,
-V
Similar Threads
-
By Rob Abbe in forum Talk to the Editors
Replies: 44
Last Post: 01-13-2003, 02:57 PM
-
By Sean in forum VB Classic
Replies: 6
Last Post: 07-23-2002, 08:04 PM
-
By Michelle in forum VB Classic
Replies: 8
Last Post: 04-19-2002, 05:01 PM
-
By Denijal Sarajliĉ in forum ASP.NET
Replies: 0
Last Post: 12-25-2000, 07:45 AM
-
Replies: 0
Last Post: 06-16-2000, 02:10 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks