|
-
May 31st, 2005, 09:47 PM
#1
Thread Starter
Frenzied Member
access modifiers and sockets
I've been playing around with network programming and I've noticed that most people declare their socket instance variables as protected. I've also seen this in servlets, except this time even the doGet and doPost methods are declared as protected. I don't understand this. Shouldn't those things be declared private?
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
|
Click Here to Expand Forum to Full Width
|