This week's book giveaways are in the iOS and Features new in Java 8 forums.
We're giving away four copies each of Barcodes with iOS: Bringing together the digital and physical worlds and Core Java for the Impatient and have the authors on-line!
See this thread and this one for details.
The moose likes Beginning Java and the fly likes How my sons learned encapsulation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Barcodes with iOS this week in the iOS forum
or Core Java for the Impatient in the Java 8 forum!

JavaRanch » Java Forums » Java » Beginning Java
Bookmark "How my sons learned encapsulation" Watch "How my sons learned encapsulation" New topic
Author

How my sons learned encapsulation

miguel lisboa
Ranch Hand

Joined: Feb 08, 2004
Posts: 1281

Now, if i change my mind, i've to change, in as many sons i have, the value of pocketMoney;

but i can change things:

am i teaching my children well?
[ April 09, 2005: Message edited by: miguel lisboa ]

java amateur
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How my sons learned encapsulation