跳轉到內容
Main menu
Main menu
move to sidebar
hide
Navigation
Main Page
Help
Browse
Cookbook
Wikijunior
Featured books
Recent changes
Random book
Using Wikibooks
Community
Reading room forum
Community portal
Bulletin Board
Help out!
Policies and guidelines
Contact us
Search
Search
Donations
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Discussion for this IP address
目錄
移動到側邊欄
隱藏
開始
1
基礎
切換基礎小節
1.1
OOP 基礎
切換目錄
面向物件程式設計/基礎
Add languages
Add links
Book
Discussion
English
Read
Edit
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
Edit source
View history
General
What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Cite this page
Get shortened URL
Download QR code
Sister projects
Wikipedia
Wikiversity
Wiktionary
Wikiquote
Wikisource
Wikinews
Wikivoyage
Commons
Wikidata
MediaWiki
Meta-Wiki
Print/export
Create a collection
Download as PDF
Printable version
In other projects
外觀
移動到側邊欄
隱藏
來自華夏公益教科書,開放書籍,開放世界
<
面向物件程式設計
基礎
[
編輯
|
編輯原始碼
]
有一些關於 OOP 的書籍會告訴你面向物件程式設計的基石是封裝、繼承和多型,或者類似的東西。這在經典的 OOP 觀點中是相當典型的。
OOP 基礎
[
編輯
|
編輯原始碼
]
類
*
建構函式
類
建構函式
方法
屬性
Getter 和 Setter
靜態方法 vs 動態方法
私有 vs 公共
類別
:
書籍:面向物件程式設計
華夏公益教科書