官术网_书友最值得收藏!

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
主站蜘蛛池模板: 临武县| 顺平县| 荆州市| 阳谷县| 山西省| 罗山县| 台东县| 威远县| 宜川县| 锦州市| 唐山市| 临澧县| 岳阳市| 渭源县| 民勤县| 永清县| 岢岚县| 新河县| 永新县| 社会| 冀州市| 沙田区| 阜阳市| 扶沟县| 江油市| 方正县| 巫山县| 二手房| 天津市| 石首市| 淮阳县| 天门市| 海阳市| 广昌县| 祁东县| 美姑县| 电白县| 四会市| 易门县| 广南县| 章丘市|