- The Java Workshop
- David Cuartielles Andreas G?ransson Eric Foster Johnson
- 115字
- 2021-06-11 13:05:21
3. Object-Oriented Programming
Overview
In this chapter, we will consider the way in which Java implements object-oriented programming (OOP) concepts. For these purposes, you will first practice creating and instantiating your own classes so that you can later create methods that can handle data within them. We will then take you through how to code recursive methods, and even how to override existing methods in favor of your own. By the end of the chapter, you will be fully equipped to overload the definition of methods in order to accommodate different scenarios with different parameters to the same method or constructor, and annotate code to inform the compiler about specific actions that must be taken.
推薦閱讀
- 深度實踐OpenStack:基于Python的OpenStack組件開發
- Kibana Essentials
- 企業級Java EE架構設計精深實踐
- 程序員考試案例梳理、真題透解與強化訓練
- Rust Essentials(Second Edition)
- 全棧自動化測試實戰:基于TestNG、HttpClient、Selenium和Appium
- Learning PHP 7
- PHP+Ajax+jQuery網站開發項目式教程
- 智能搜索和推薦系統:原理、算法與應用
- Learning Android Application Testing
- 遠方:兩位持續創業者的點滴思考
- 大話代碼架構:項目實戰版
- Apache Solr for Indexing Data
- C++ Data Structures and Algorithm Design Principles
- Learning Google Apps Script