- 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.
推薦閱讀
- HTML5+CSS3+JavaScript從入門到精通:上冊(微課精編版·第2版)
- The DevOps 2.3 Toolkit
- 一步一步學Spring Boot 2:微服務項目實戰
- LabVIEW Graphical Programming Cookbook
- Java編程指南:基礎知識、類庫應用及案例設計
- PostgreSQL技術內幕:事務處理深度探索
- FFmpeg入門詳解:音視頻原理及應用
- Spring Boot Cookbook
- Node.js Design Patterns
- Android系統原理及開發要點詳解
- Java Web應用開發項目教程
- 算法圖解
- NGUI for Unity
- 計算語言學導論
- HTML5游戲開發實戰