阿摩線上測驗 登入

申論題資訊

試卷:110年 - 110 國立政治大學_碩士班招生考試_數位內容碩士學位學程/資訊應用組:計算機概論與程式設計#102930
科目:研究所、轉學考(插大)◆計算機概論與程式設計
年份:110年
排序:0

題組內容

Please answer the following questions. For answers in code, any programming language (but not mixed) or pseudocode is allowed.(60%)

申論題內容

2. In object-oriented programming (OOP), public, private and protected are common access modifiers for the members (variables and functions) in a class. They are important for inheritance. Please describe what is inheritance and the difference among public, private and protected members. (10%) Furthermore, three kinds of inberitance, public, private and protected inheritance, are in C++. Please draw a figure or table to show how public, private and protected members in the base class become in the derived class through public, private and protected inheritance. (10%)