Home (/) / Certification (/cert/) / A programmer's guide to java certification (/cert/java+certification/)
Chapter 6. Object-oriented Programming
Exam Objectives State the benefits of encapsulation in object-oriented design and write code that implements tightly encapsulated classes and the relationships is-a and has-a. Write code to invoke overridden or overloaded methods and parental or overloaded constructors; describe the effect of invoking these methods. Write code to construct instances of any concrete class, including normal top-level classes and nested classes. For nested classes, see Chapter 7.
Supplementary Objectives Understand the concepts single implementation inheritance, multiple interface inheritance, subtype-supertype relationship, and their implications for object-oriented programming (OOP). Understand constructor chaining involving this() and super() constructs. State conversion rules for assigning, casting, and passing references. Determine at runtime if an object is an instance of a specified reference type (or of this type's subtypes), using the instanceof operator. Understand polymorphism and dynamic method lookup.
List of Figures (/cert/java+certification/List+of+Figures/) List of Tables (/cert/java+certification/List+of+Tables/) List of Examples (/cert/java+certification/List+of+Examples/) Foreword (/cert/java+certification/Foreword/) Preface (/cert/java+certification/Preface/) Chapter 1. Basics of Java Programming (/cert/java+certification/Chapter+1.+Basics+of+Java+Programming/) Chapter 2. Language Fundamentals (/cert/java+certification/Chapter+2.+Language+Fundamentals/) Chapter 3. Operators and Assignments (/cert/java+certification/Chapter+3.+Operators+and+Assignments/) Chapter 4. Declarations and Access Control (/cert/java+certification/Chapter+4.+Declarations+and+Access+Control/) Chapter 5. Control Flow, Exception Handling, and Assertions (/cert/java+certification/Chapter+5.+Control+Flow+Exception+Handling+and+Assertions/) Chapter 6. Object-oriented Programming 6.1 Single Implementation Inheritance (/cert/java+certification/Chapter+6.+Object-oriented+Programming/6.1+Single+Implementation+Inheritance/) Review Questions (/cert/java+certification/Chapter+6.+Object-oriented+Programming/Review+Questions/) 6.2 Overriding and Hiding Members (/cert/java+certification/Chapter+6.+Object-oriented+Programming/6.2+Overriding+and+Hiding+Members/) Review Questions (/cert/java+certification/Chapter+6.+Object-oriented+Programming/Review+Questions_jhc4f/) 6.3 Chaining Constructors Using 'this()' and 'super()' (/cert/java+certification/Chapter+6.+Objectoriented+Programming/6.3+Chaining+Constructors+Using+this+and+super/) Review Questions (/cert/java+certification/Chapter+6.+Object-oriented+Programming/Review+Questions_r7uu6/) 6.4 Interfaces (/cert/java+certification/Chapter+6.+Object-oriented+Programming/6.4+Interfaces/) Review Questions (/cert/java+certification/Chapter+6.+Object-oriented+Programming/Review+Questions_rtnyx/) 6.5 Completing the Type Hierarchy (/cert/java+certification/Chapter+6.+Object-oriented+Programming/6.5+Completing+the+Type+Hierarchy/) 6.6 Assigning, Passing, and Casting Reference Values (/cert/java+certification/Chapter+6.+Objectoriented+Programming/6.6+Assigning+Passing+and+Casting+Reference+Values/) Review Questions (/cert/java+certification/Chapter+6.+Object-oriented+Programming/Review+Questions_fae8b/) 6.7 Polymorphism and Dynamic Method Lookup (/cert/java+certification/Chapter+6.+Objectoriented+Programming/6.7+Polymorphism+and+Dynamic+Method+Lookup/) Review Questions (/cert/java+certification/Chapter+6.+Object-oriented+Programming/Review+Questions_zo2da/) 6.8 Inheritance vs. Aggregation (/cert/java+certification/Chapter+6.+Object-oriented+Programming/6.8+Inheritance+vs.+Aggregation/) Review Questions (/cert/java+certification/Chapter+6.+Object-oriented+Programming/Review+Questions_k3qi9/) Chapter Summary (/cert/java+certification/Chapter+6.+Object-oriented+Programming/Chapter+Summary/) Programming Exercises (/cert/java+certification/Chapter+6.+Object-oriented+Programming/Programming+Exercises/) Chapter 7. Nested Classes And Interfaces (/cert/java+certification/Chapter+7.+Nested+Classes+And+Interfaces/) Chapter 8. Object Lifetime (/cert/java+certification/Chapter+8.+Object+Lifetime/) Chapter 9. Threads (/cert/java+certification/Chapter+9.+Threads/) Chapter 10. Fundamental Classes (/cert/java+certification/Chapter+10.+Fundamental+Classes/) Chapter 11. Collections and Maps (/cert/java+certification/Chapter+11.+Collections+and+Maps/) Appendix A. Taking the SCPJ2 1.4 Exam (/cert/java+certification/Appendix+A.+Taking+the+SCPJ2+1.4+Exam/) Appendix B. Objectives for the SCPJ2 1.4 Exam (/cert/java+certification/Appendix+B.+Objectives+for+the+SCPJ2+1.4+Exam/) Appendix C. Objectives for the Java 2 Platform Upgrade Exam (/cert/java+certification/Appendix+C.+Objectives+for+the+Java+2+Platform+Upgrade+Exam/) Appendix D. Annotated Answers to Review Questions (/cert/java+certification/Appendix+D.+Annotated+Answers+to+Review+Questions/) Appendix E. Solutions to Programming Exercises (/cert/java+certification/Appendix+E.+Solutions+to+Programming+Exercises/) Appendix F. Mock Exam (/cert/java+certification/Appendix+F.+Mock+Exam/) Appendix G. Number Systems and Number Representation (/cert/java+certification/Appendix+G.+Number+Systems+and+Number+Representation/) Appendix H. About the CD (/cert/java+certification/Appendix+H.+About+the+CD/) Single-User License Agreement (/cert/java+certification/Single-User+License+Agreement/)
Remember the name: eTutorials.org
Advertise on eTutorials.org (mailto:
[email protected]) Copyright eTutorials.org 2008-2018. All rights reserved.