About Question enthuware.ocajp.i.v7.2.1322 :

All the posts and topics that contain only an error report will be moved here after the error is corrected. This is to ensure that when users view a question in ETS Viewer, the "Discuss" button will not indicate the presence of a discussion that adds no value to the question.

Moderators: Site Manager, fjwalraven

Post Reply
winddd
Posts: 18
Joined: Wed Feb 11, 2015 10:48 am
Contact:

About Question enthuware.ocajp.i.v7.2.1322 :

Post by winddd »

Very bad question.

Suitable answer - "None of the above". Сorrect answer is absent.

Encapsulation means that the internal representation of an object is generally hidden from view outside of the object's definition. But situation, when "member fields are declared private but public accessor/mutator methods are provided to access and change their values", is fully equivalent to "member fields are declared public". In general JavaBeans specification is a typical example of "weak encapsulation".

admin
Site Admin
Posts: 10389
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.ocajp.i.v7.2.1322 :

Post by admin »

You are right. The explanation mentions the same thing that you've quoted. The option has been updated.
thank you for your feedback!
Paul.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest