Discover object oriented programming with Java in this unique tutorial. This book uses Java and Eclipse to write and generate output for examples in topics such as classes, interfaces, overloading, and overriding. __Interactive Object Oriented Programming__ in Java uniquely presents its material in a dialogue with the reader to encourage thinking and experimentation. Later chapters cover further Java programming concepts, such as abstract classes, packages, and exception handling. At each stage you’ll be challenged by the author to help you absorb the information and become a proficient Java programmer. Additionally, each chapter contains simple assignments to encourage you and boost your confidence level. **What You Will Learn*** Become proficient in object oriented programming * Test your skills in the basics of Java * Develop as a Java programmer * Use the Eclipse IDE to write your code **Who This Book Is For**Software developers and software testers. Contents at a Glance......Page 4 Contents......Page 6 About the Author......Page 15 About the Technical Reviewers......Page 16 Acknowledgments......Page 17 Introduction......Page 18 Preface: Review the core terms and start the journey......Page 20 SET 1......Page 26 SET 2......Page 28 SET 3......Page 31 SET 4......Page 33 SET 5......Page 37 SET 6......Page 38 SET 7......Page 46 SET 8......Page 52 SET 9......Page 56 Chapter 2: Class......Page 59 Demonstration-1......Page 60 Demonstration-2......Page 61 Output......Page 62 Output......Page 63 Demonstration-3......Page 64 Output......Page 65 Output......Page 66 Demonstration-5......Page 67 Output......Page 68 Explanation......Page 69 Demonstration-7......Page 71 Analysis......Page 72 Assignment......Page 73 Chapter 3: Inheritance......Page 74 Demonstration-1......Page 77 Output......Page 78 Output......Page 80 A special keyword: super......Page 81 Demonstration-4......Page 82 Output......Page 83 Demonstration-5......Page 84 Output......Page 85 Assignment......Page 86 Demonstration-1......Page 87 Output......Page 88 Demonstration-2......Page 89 Demonstration-3......Page 90 Analysis......Page 91 Output......Page 92 Demonstration-1......Page 93 Demonstration-2......Page 94 Demonstration-3......Page 95 Dynamic Method Dispatch......Page 96 Output......Page 97 Use of “final” keyword......Page 98 Output......Page 99 Quiz......Page 100 Output......Page 101 Output......Page 102 Output......Page 103 Quiz......Page 104 Output......Page 105 Output......Page 106 Demonstration-10......Page 107 Analysis......Page 108 Demonstration-11......Page 109 Analysis......Page 110 A simple abstract class demo......Page 111 Demonstration-2......Page 112 Output......Page 113 Output......Page 114 Quiz......Page 116 Quiz......Page 117 Output......Page 118 Demonstration-1......Page 119 Demonstration-2......Page 120 Output......Page 121 Demonstration-4......Page 122 Demonstration-5......Page 123 Tagging Interface......Page 124 Demonstration-Marker Interface and Annotation......Page 126 Output......Page 127 Demonstration-6......Page 128 Output......Page 129 Output......Page 130 Demonstration-8......Page 131 Output......Page 132 Assignment......Page 133 Chapter 8: Package......Page 134 Demonstration-1......Page 137 Output......Page 140 Output......Page 142 Chapter 9: OOPs Concepts Revisited......Page 144 Analysis......Page 145 Demonstration-2......Page 148 Output......Page 149 Generalization demo......Page 150 Realization demo......Page 151 Demonstration-1......Page 152 Demonstration-2......Page 153 Analysis......Page 154 Demonstration-3......Page 155 Quiz......Page 156 Demonstration-4......Page 157 Output......Page 158 Demonstration-5......Page 159 Output......Page 160 Analysis......Page 161 Assignment......Page 162 Chapter 11: Exceptions......Page 163 Output......Page 164 Demonstration-2......Page 165 Demonstration-2A......Page 166 Output......Page 167 Output......Page 168 Demonstration-2C......Page 169 Demonstration-3......Page 170 Output......Page 171 Demonstration-4......Page 173 Output......Page 174 Quiz......Page 175 Demonstration-5......Page 176 Output......Page 178 Demonstration-6......Page 179 Output......Page 180 Demonstration-7......Page 181 Demonstration-8......Page 182 Output......Page 184 Assignment......Page 186 Chapter 12: An introduction to design patterns......Page 187 Structural Patterns......Page 188 Behavioral Patterns......Page 189 Illustration......Page 190 Implementation......Page 192 Output......Page 195 Illustration......Page 196 Package Explorer view......Page 197 Output......Page 198 Illustration......Page 200 Implementation......Page 202 Output......Page 205 Implementation......Page 206 Assignment 2......Page 207 Implementation......Page 208 Output......Page 209 Implementation......Page 210 Assignment 1......Page 211 Implementation......Page 212 Assignment 2......Page 213 Implementation......Page 214 Output......Page 215 Implementation......Page 216 Output......Page 217 Assignment......Page 218 Implementation......Page 219 Output......Page 220 Discussion......Page 221 Appendix B: Frequently asked questions......Page 222 Appendix C: Some Useful Resources......Page 225 Index......Page 226 Discover object oriented programming with Java in this unique tutorial. This book uses Java and Eclipse to write and generate output for examples in topics such as classes, interfaces, overloading, and overriding. Interactive Object Oriented Programming in Java uniquely presents its material in a dialogue with the reader to encourage thinking and experimentation. Later chapters cover further Java programming concepts, such as abstract classes, packages, and exception handling. At each stage you'll be challenged by the author to help you absorb the information and become a proficient Java programmer. Additionally, each chapter contains simple assignments to encourage you and boost your confidence level. What You Will Learn Become proficient in object oriented programming Test your skills in the basics of Java Develop as a Java programmer Use the Eclipse IDE to write your code Who This Book Is For Software developers and software testers.