- Java 9 with JShell
- Gastón C. Hillar
- 171字
- 2021-07-09 18:46:48
Summary
In this chapter, you learned how to recognize real-world elements and translate them into the different components of the object-oriented paradigm supported in Java 9: classes, fields, methods, and instances. You understood that the classes represent blueprints or templates to generate the objects, also known as instances.
We designed a few classes with fields and methods that represent blueprints for real-life objects, specifically, 2D shapes. Then, we improved the initial design by taking advantage of the power of abstraction and specialized different classes. We generated many versions of the initial UML diagram as we added superclasses and subclasses. We understood the application domain and we made changes to the original design as our knowledge increased and we realized we were able to generalize behavior.
Now that you have learned some of the basics of the object-oriented paradigm, we are ready to start creating classes and instances in Java 9 with JShell, which is what we are going to discuss in the next chapter. It is time to start object-oriented coding!
- C語言程序設計(第2 版)
- 高級C/C++編譯技術(典藏版)
- PostgreSQL 11從入門到精通(視頻教學版)
- Building a Quadcopter with Arduino
- PostgreSQL Replication(Second Edition)
- HDInsight Essentials(Second Edition)
- 從Excel到Python:用Python輕松處理Excel數據(第2版)
- Visual Basic程序設計教程
- HTML5從入門到精通(第4版)
- Mastering Apache Storm
- 從Power BI到Analysis Services:企業級數據分析實戰
- TypeScript 2.x By Example
- ASP.NET求職寶典
- Monitoring Docker
- 小學生C++趣味編程從入門到精通