aboutsummaryrefslogtreecommitdiff
path: root/files/zh-tw/glossary/class
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-tw/glossary/class')
-rw-r--r--files/zh-tw/glossary/class/index.html22
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>