題組內容

二、 (每項 3 分,共10項,計 30 分) 
以下 C# 程式是簡化的門禁警示系統,其 UML 設計圖如下所示。

(4)10請說明程式中,static 屬性(attribute)和 static 方法 (method)的用途。