I can recall helping someone in my highschool computer science class. (Unstructured BASIC, in case anyone's interested). This fellow never quite understood the whole idea of using OUTPUT. He could do the looping and logic, but I always had to remind him... "and now do you want your user to see the result, or have the compuer keep it to itself?".You will still be breaking encapsulation by using an accessor method
"JavaRanch, where the deer and the Certified play" - David O'Meara
Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
Actually you don't. Instead you provide methods to access the Connection object.If I wrap a dataaccess class, I need a way to get the connection object.
Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
Don't get me started about those stupid light bulbs. |