- 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
推薦閱讀
- 深度學(xué)習(xí)經(jīng)典案例解析:基于MATLAB
- Learn WebAssembly
- Learning Network Forensics
- 精通網(wǎng)絡(luò)視頻核心開(kāi)發(fā)技術(shù)
- 重學(xué)Java設(shè)計(jì)模式
- C語(yǔ)言程序設(shè)計(jì)上機(jī)指導(dǎo)與習(xí)題解答(第2版)
- C#開(kāi)發(fā)案例精粹
- Unity 2018 Augmented Reality Projects
- JavaScript程序設(shè)計(jì):基礎(chǔ)·PHP·XML
- 創(chuàng)意UI:Photoshop玩轉(zhuǎn)APP設(shè)計(jì)
- Go語(yǔ)言從入門到精通
- Java EE架構(gòu)設(shè)計(jì)與開(kāi)發(fā)實(shí)踐
- Learn C Programming
- Neo4j權(quán)威指南 (圖數(shù)據(jù)庫(kù)技術(shù)叢書)
- Hands-On Machine Learning with ML.NET