Christian Chat is a moderated online Christian community allowing Christians around the world to fellowship with each other in real time chat via webcam, voice, and text, with the Christian Chat app. You can also start or participate in a Bible-based discussion here in the Christian Chat Forums, where members can also share with each other their own videos, pictures, or favorite Christian music.
If you are a Christian and need encouragement and fellowship, we're here for you! If you are not a Christian but interested in knowing more about Jesus our Lord, you're also welcome! Want to know what the Bible says, and how you can apply it to your life? Join us!
Only if you want them not to be available from other classes. The advantage of private attributes is that no external method can change the value without you wanting it to. So it's more error-proof. Make them private, then make methods in the same class that can change them. (these methods are public off course). This way, an other method in an other class cannot change the attribute directly (wich could lead to errors), but has to call the 'change' method of the attribute's class. And that method is well defined, wich is error proof