On Fri, 21 Oct 2011 12:48:40 -0200, hese <1024h...@gmail.com> wrote:

I understand encapsulation and the need for it, but isn't it very common for base classes to have protected variables which the derived classes can
access freely without having accessor methods?

Not in good object-oriented code IMHO. ;)

--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to