A Question on Encapsulation.

Posted by Bragaadeesh on Stack Overflow See other posts from Stack Overflow or by Bragaadeesh
Published on 2010-05-12T20:31:11Z Indexed on 2010/05/12 20:34 UTC
Read the original article Hit count: 287

Filed under:
|
|

Hi,

I know that encapsulation is binding the members and its behavior in one single entity. And it has made me think that the members have to be private. Does this mean if a class having public members is not following 100% Encapsulation rule?

Thanks

© Stack Overflow or respective owner

Related posts about java

Related posts about encapsulation