Om Converting procedural code to Object Oriented in Java
Procedural code can be replaced with objects to increase correctness, flexibility, and maintainability. In this book, Converting procedural code to Object Oriented code in Java, We will be making our Java code more object-oriented, you'll learn how to design truly object-oriented classes in the Java programming language. First, you'll learn how to represent a discrete object state and behavior to avoid imperative branching constructs. Next, you'll discover that null references are a needless pain. Finally, you'll explore alternatives to null - substitute objects and optional objects. When you're finished with this book, you'll have the skills and knowledge of designing classes that avoid traditional imperative constructs, with features resulting from orchestrating well-encapsulated objects rich in behavior.
Vis mer