diff options
author | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 14:43:23 -0500 |
---|---|---|
committer | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 14:43:23 -0500 |
commit | 218934fa2ed1c702a6d3923d2aa2cc6b43c48684 (patch) | |
tree | a9ef8ac1e1b8fe4207b6d64d3841bfb8990b6fd0 /files/zh-tw/glossary/class | |
parent | 074785cea106179cb3305637055ab0a009ca74f2 (diff) | |
download | translated-content-218934fa2ed1c702a6d3923d2aa2cc6b43c48684.tar.gz translated-content-218934fa2ed1c702a6d3923d2aa2cc6b43c48684.tar.bz2 translated-content-218934fa2ed1c702a6d3923d2aa2cc6b43c48684.zip |
initial commit
Diffstat (limited to 'files/zh-tw/glossary/class')
-rw-r--r-- | files/zh-tw/glossary/class/index.html | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/files/zh-tw/glossary/class/index.html b/files/zh-tw/glossary/class/index.html new file mode 100644 index 0000000000..7effd1c427 --- /dev/null +++ b/files/zh-tw/glossary/class/index.html @@ -0,0 +1,22 @@ +--- +title: Class(類) +slug: Glossary/Class +tags: + - Class + - 術語表 + - 面向對象 + - 類 +translation_of: Glossary/Class +--- +<p>在物件導向編程({{glossary("OOP","object-oriented programming")}})中,一個類(Class)定義了一個 {{glossary("object","object")}} 的性質。類是一個定義了對象的屬性 ({{glossary("property","properties")}}) 和方法 ({{glossary("method","methods")}}) 的模板,繪製其他更多具體實例對象的「藍圖」。</p> + +<h2 id="了解更多">了解更多</h2> + +<h3 id="基礎知識">基礎知識</h3> + +<ul> + <li><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Details_of_the_Object_Model#Class-based_vs._prototype-based_languages">基於類 vs. 基於原型 的編程語言</a> (像 JavaScript)</li> + <li><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Introduction_to_Object-Oriented_JavaScript#The_Class">在 JavaScript 中使用 functions 當作類</a></li> + <li>維基百科上的 <a href="https://en.wikipedia.org/wiki/Class-based_programming">基於類的編程</a></li> + <li>維基百科上的 <a href="https://en.wikipedia.org/wiki/Object-oriented_programming">面向對象編程</a></li> +</ul> |