Java quiz: Object Orientation

By , last updated March 20, 2014

1. What is encapsulation:

a) the ability to make changes in your implementation without breaking the code of others
b) keep instance variables accessible foe everyone
c) create getters and setters rather then give direct access to instance variables

Senior Software Engineer developing all kinds of stuff.


Be the first to comment.

Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>