What is the name of the Java concept that uses access modifiers to protect variables and hide them within a class?



A. Encapsulation
B. Inheritance
C. Abstraction
D. Instantiation
E. Polymorphism

題解

封裝的概念就是保護程式不被修改和隱藏程式實作(程式碼)。