-
Home
- Infromation Technology
- Certification
- SCEA Java Architect
- Object-oriented design concepts
- What are the pros of encapsulation
<< First
< Previous
Flashcard
Next >
Last >>
Explanation:
Encapsulation means hiding the attributes of a class by marking themprivate and restrict accessing them through public methods and also means hiding the internal implementation and representation of an object and provide to the outer world only an interface of public methods to access the object.
Answers: "avoid code duplicity " and "subtypes of a well-encapsulated class won't need to override most of the inherited methods ", have nothing to do with encapsulation
Exam Home Page
|
JavaChamp TeamSenior Java Developer
QuizOver.com
Germany
|
Attribution:
Oracle, Sun, Java and all Java-based trademarks and logos are trademarks or registered trademarks of Oracle and/or its affiliates.