PDA

Click to See Complete Forum and Search --> : access modifiers and sockets


System_Error
May 31st, 2005, 09:47 PM
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?