- Android Programming for Beginners
- John Horton
- 145字
- 2021-07-23 14:47:09
Chapter 9. Object-Oriented Programming
In this chapter we will discover that in Java, classes are fundamental to just about everything. We will begin to understand why the software engineers at Sun Microsystems back in the early 1990's made Java the way they did.
We have already talked about reusing other people's code, specifically the Android API, but in this chapter, we will really get to grips with how this works and learn about object-oriented programming (OOP) and how to use it.
In short, we will cover the following topics:
- What OOP is including encapsulation, inheritance, and polymorphism
- Writing and using our first, very own class
- Encapsulation in depth and how it helps us
- Inheritance in depth and how to take full advantage of it
- Polymorphism explained in greater detail
- Static classes and how we have been using them already
- Abstract classes and interfaces
推薦閱讀
- GraphQL學習指南
- Java EE 6 企業級應用開發教程
- What's New in TensorFlow 2.0
- Java從入門到精通(第4版)
- Python高級機器學習
- Visual C++串口通信技術詳解(第2版)
- Windows Presentation Foundation Development Cookbook
- Easy Web Development with WaveMaker
- CKA/CKAD應試教程:從Docker到Kubernetes完全攻略
- Oracle Database 12c Security Cookbook
- Instant RubyMotion App Development
- OpenShift在企業中的實踐:PaaS DevOps微服務(第2版)
- C語言程序設計
- Swift細致入門與最佳實踐
- C語言程序設計